Module: Uber::API::Promotions
- Included in:
- Uber::API
- Defined in:
- lib/uber/api/promotions.rb
Instance Method Summary collapse
Instance Method Details
#promotion(*args) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/uber/api/promotions.rb', line 9 def promotion(*args) arguments = Uber::Arguments.new(args) perform_with_object( :get, "/v1/promotions", arguments., Promotion ) end |