Module: Strava::Api::Endpoints::Gears
- Included in:
- Client
- Defined in:
- lib/strava/api/endpoints/gears.rb
Instance Method Summary collapse
-
#gear(id_or_options, options = {}) ⇒ Object
Returns an equipment using its identifier.
Instance Method Details
#gear(id_or_options, options = {}) ⇒ Object
Returns an equipment using its identifier.
13 14 15 16 |
# File 'lib/strava/api/endpoints/gears.rb', line 13 def gear(, = {}) id, = parse_args(, ) Strava::Models::Gear.new(get("gear/#{id}", )) end |