lib/strava/models/power_zone_ranges.rb in strava-ruby-client-0.4.2 vs lib/strava/models/power_zone_ranges.rb in strava-ruby-client-0.4.3

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + module Strava module Models class PowerZoneRanges < Model property 'zones', transform_with: ->(v) { v.map { |r| Strava::Models::ZoneRange.new(r) } } end