Module: Uber::Utils
- Included in:
- API
- Defined in:
- lib/uber/utils.rb
Instance Method Summary collapse
- #perform_with_object(request_method, path, options, klass) ⇒ Object
- #perform_with_objects(request_method, path, options, klass) ⇒ Object
Instance Method Details
#perform_with_object(request_method, path, options, klass) ⇒ Object
10 11 12 13 |
# File 'lib/uber/utils.rb', line 10 def perform_with_object(request_method, path, , klass) request = Uber::ApiRequest.new(self, request_method, path, ) request.perform_with_object(klass) end |
#perform_with_objects(request_method, path, options, klass) ⇒ Object
19 20 21 22 |
# File 'lib/uber/utils.rb', line 19 def perform_with_objects(request_method, path, , klass) request = Uber::ApiRequest.new(self, request_method, path, ) request.perform_with_objects(klass) end |