Sha256: fbb891204dc5f3bed60c22872cf23e68c292c8cf8de78283e474464d1adfcf1c

Contents?: true

Size: 376 Bytes

Versions: 6

Compression:

Stored size: 376 Bytes

Contents

# frozen_string_literal: true

module Strava
  module Models
    class ActivityTotal < Strava::Models::Response
      include Mixins::Distance
      include Mixins::Time
      include Mixins::Elevation

      property 'count'
      property 'achievement_count'
      property 'elevation_gain'

      def total_elevation_gain
        elevation_gain
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
strava-ruby-client-2.2.0 lib/strava/models/activity_total.rb
strava-ruby-client-2.1.0 lib/strava/models/activity_total.rb
strava-ruby-client-2.0.0 lib/strava/models/activity_total.rb
strava-ruby-client-1.1.0 lib/strava/models/activity_total.rb
strava-ruby-client-1.0.1 lib/strava/models/activity_total.rb
strava-ruby-client-1.0.0 lib/strava/models/activity_total.rb