Sha256: 7c33ed8fa3a021331186c04b1fd2286a0106a1fb117ddfb9f4578d38a14bdd45

Contents?: true

Size: 263 Bytes

Versions: 6

Compression:

Stored size: 263 Bytes

Contents

# frozen_string_literal: true

module Strava
  module Models
    class HeartRateZoneRanges < Strava::Models::Response
      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-2.2.0 lib/strava/models/heart_rate_zone_ranges.rb
strava-ruby-client-2.1.0 lib/strava/models/heart_rate_zone_ranges.rb
strava-ruby-client-2.0.0 lib/strava/models/heart_rate_zone_ranges.rb
strava-ruby-client-1.1.0 lib/strava/models/heart_rate_zone_ranges.rb
strava-ruby-client-1.0.1 lib/strava/models/heart_rate_zone_ranges.rb
strava-ruby-client-1.0.0 lib/strava/models/heart_rate_zone_ranges.rb