-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathclub.rb
34 lines (32 loc) · 789 Bytes
/
club.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# frozen_string_literal: true
module Strava
module Models
class Club < Strava::Models::Response
property 'id'
property 'resource_state'
property 'name'
property 'profile_medium'
property 'profile'
property 'cover_photo'
property 'cover_photo_small'
property 'sport_type'
property 'city'
property 'state'
property 'country'
property 'private'
property 'member_count'
property 'featured'
property 'verified'
property 'url'
property 'membership'
property 'admin'
property 'owner'
property 'description'
property 'club_type'
property 'following_count'
def strava_url
"https://www.strava.com/clubs/#{url || id}"
end
end
end
end