Sha256: 10dbd6a3693c1d03a83baee240cf2d25afdf19020ad56cdc1a32a43dc586ecd5

Contents?: true

Size: 644 Bytes

Versions: 1

Compression:

Stored size: 644 Bytes

Contents

module Strava
  module Models
    class Athlete < Model
      property 'id'
      property 'username'
      property 'resource_state'
      property 'firstname'
      property 'lastname'
      property 'city'
      property 'state'
      property 'country'
      property 'sex'
      property 'premium'
      property 'created_at', transform_with: ->(v) { Time.parse(v) }
      property 'updated_at', transform_with: ->(v) { Time.parse(v) }
      property 'badge_type_id'
      property 'profile'
      property 'profile_medium'
      property 'email'
      property 'follower'
      property 'friend'
      property 'summit'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
strava-ruby-client-0.1.0 lib/strava/models/athlete.rb