Sha256: d84c42424555300ce9b9669666e0348ba968d5057d3e8ae1f25911cd5c083c95

Contents?: true

Size: 526 Bytes

Versions: 6

Compression:

Stored size: 526 Bytes

Contents

# frozen_string_literal: true

module Strava
  module Models
    class SimilarActivities < Strava::Models::Response
      property 'average_speed'
      property 'resource_state'
      property 'effort_count'
      property 'frequency_milestone'
      property 'max_average_speed'
      property 'mid_average_speed'
      property 'min_average_speed'
      property 'mid_speed'
      property 'min_speed'
      property 'speeds'
      property 'trend', transform_with: ->(v) { Strava::Models::Trend.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/similar_activities.rb
strava-ruby-client-2.1.0 lib/strava/models/similar_activities.rb
strava-ruby-client-2.0.0 lib/strava/models/similar_activities.rb
strava-ruby-client-1.1.0 lib/strava/models/similar_activities.rb
strava-ruby-client-1.0.1 lib/strava/models/similar_activities.rb
strava-ruby-client-1.0.0 lib/strava/models/similar_activities.rb