module Uber::API::Promotions

Public Instance Methods

promotion(*args) click to toggle source
# File lib/uber/api/promotions.rb, line 9
def promotion(*args)
  arguments = Uber::Arguments.new(args)
  perform_with_object(
    :get,
    "/v1/promotions",
    arguments.options,
    Promotion
  )
end