Sha256: 553a2daff9d80dc1bf210df409d8547accb8a892b6c830021e31514e795c56a0

Contents?: true

Size: 1.01 KB

Versions: 6

Compression:

Stored size: 1.01 KB

Contents

# frozen_string_literal: true

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