Class: StravaApi::Member

Inherits:
HashBasedStore show all
Defined in:
lib/strava-api/member.rb

Constant Summary collapse

ATTRIBUTE_MAP =
{'name' => :name, 'id' => :id, 'username' => :username }

Instance Method Summary collapse

Methods inherited from HashBasedStore

#[], #id, #merge, #method_missing, #to_s

Constructor Details

#initialize(connection, options = {}) ⇒ Member

Returns a new instance of Member.



4
5
6
# File 'lib/strava-api/member.rb', line 4

def initialize(connection, options = {})
  super(connection, ATTRIBUTE_MAP, {}, options)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class StravaApi::HashBasedStore