Sha256: 35993a0778c69b3c6513acc13b3d2aaeccfc6490cf4901e875fe81889ef019cd

Contents?: true

Size: 357 Bytes

Versions: 7

Compression:

Stored size: 357 Bytes

Contents

module Strava
  module Models
    class ActivityZone < Model
      property 'score'
      property 'distribution_buckets', transform_with: ->(v) { v.map { |r| Strava::Models::TimedZoneRange.new(r) } }
      property 'type'
      property 'resource_state'
      property 'sensor_based'
      property 'points'
      property 'custom_zones'
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
strava-ruby-client-0.4.2 lib/strava/models/activity_zone.rb
strava-ruby-client-0.4.1 lib/strava/models/activity_zone.rb
strava-ruby-client-0.4.0 lib/strava/models/activity_zone.rb
strava-ruby-client-0.3.2 lib/strava/models/activity_zone.rb
strava-ruby-client-0.3.1 lib/strava/models/activity_zone.rb
strava-ruby-client-0.3.0 lib/strava/models/activity_zone.rb
strava-ruby-client-0.2.0 lib/strava/models/activity_zone.rb