Sha256: 3d02f1c0331d1f0546408ea36e9cea210378dd55883e3265f7edaaf6741079a6

Contents?: true

Size: 985 Bytes

Versions: 6

Compression:

Stored size: 985 Bytes

Contents

module Strava
  module Models
    class StreamSet < Model
      property 'distance', transform_with: ->(v) { Strava::Models::Stream.new(v) }
      property 'time', transform_with: ->(v) { Strava::Models::Stream.new(v) }
      property 'latlng', transform_with: ->(v) { Strava::Models::Stream.new(v) }
      property 'altitude', transform_with: ->(v) { Strava::Models::Stream.new(v) }
      property 'velocity_smooth', transform_with: ->(v) { Strava::Models::Stream.new(v) }
      property 'heartrate', transform_with: ->(v) { Strava::Models::Stream.new(v) }
      property 'cadence', transform_with: ->(v) { Strava::Models::Stream.new(v) }
      property 'watts', transform_with: ->(v) { Strava::Models::Stream.new(v) }
      property 'temp', transform_with: ->(v) { Strava::Models::Stream.new(v) }
      property 'moving', transform_with: ->(v) { Strava::Models::Stream.new(v) }
      property 'grade_smooth', transform_with: ->(v) { Strava::Models::Stream.new(v) }
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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