Class: StravaApi::Bike
- Inherits:
-
HashBasedStore
- Object
- HashBasedStore
- StravaApi::Bike
- Defined in:
- lib/strava-api/bike.rb
Constant Summary collapse
- ATTRIBUTE_MAP =
{'name' => :name, 'id' => :id }
Instance Method Summary collapse
-
#initialize(connection, options = {}) ⇒ Bike
constructor
A new instance of Bike.
Methods inherited from HashBasedStore
#[], #id, #merge, #method_missing, #to_s
Constructor Details
#initialize(connection, options = {}) ⇒ Bike
Returns a new instance of Bike.
4 5 6 |
# File 'lib/strava-api/bike.rb', line 4 def initialize(connection, = {}) super(connection, ATTRIBUTE_MAP, {}, ) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class StravaApi::HashBasedStore