lib/strava/models/zones.rb in strava-ruby-client-0.4.2 vs lib/strava/models/zones.rb in strava-ruby-client-0.4.3
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module Strava
module Models
class Zones < Model
property 'heart_rate', transform_with: ->(v) { Strava::Models::HeartRateZoneRanges.new(v) }
property 'power', transform_with: ->(v) { Strava::Models::PowerZoneRanges.new(v) }