Sha256: f895ac511821b1232fcf7cccde1edb5d0bfcb6744eab975fd491a6ce63d5ad15

Contents?: true

Size: 213 Bytes

Versions: 6

Compression:

Stored size: 213 Bytes

Contents

module Strava
  module Models
    class HeartRateZoneRanges < Model
      property 'custom_zones'
      property 'zones', transform_with: ->(v) { v.map { |r| Strava::Models::ZoneRange.new(r) } }
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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