Sha256: a245fc0b6333cfcbd24969532d897abba513f0262c796e1d1d757adec9f09695

Contents?: true

Size: 267 Bytes

Versions: 6

Compression:

Stored size: 267 Bytes

Contents

module Strava
  module Models
    class SegmentLeaderboard < Model
      property 'effort_count'
      property 'entry_count'
      property 'kom_type'
      property 'entries', transform_with: ->(v) { v.map { |r| SegmentLeaderboardEntry.new(r) } }
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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