Sha256: e8cb28e2d1c52b8116292c61c818934dd6dab291eaab20574fd7e34b47f19ccc

Contents?: true

Size: 418 Bytes

Versions: 6

Compression:

Stored size: 418 Bytes

Contents

module Strava
  module Api
    module Endpoints
      module Gears
        #
        # Returns an equipment using its identifier.
        #
        # @option options [String] :id
        #   Gear id.
        #
        def gear(id_or_options, options = {})
          id, options = parse_args(id_or_options, options)
          Strava::Models::Gear.new(get("gear/#{id}", options))
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
strava-ruby-client-0.4.2 lib/strava/api/endpoints/gears.rb
strava-ruby-client-0.4.1 lib/strava/api/endpoints/gears.rb
strava-ruby-client-0.4.0 lib/strava/api/endpoints/gears.rb
strava-ruby-client-0.3.2 lib/strava/api/endpoints/gears.rb
strava-ruby-client-0.3.1 lib/strava/api/endpoints/gears.rb
strava-ruby-client-0.3.0 lib/strava/api/endpoints/gears.rb