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
11 12 13 14 |
# File 'lib/uber/utils.rb', line 11 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
20 21 22 23 |
# File 'lib/uber/utils.rb', line 20 def perform_with_objects(request_method, path, , klass) request = Uber::ApiRequest.new(self, request_method, path, ) request.perform_with_objects(klass) end |