Method: Uber::Utils#perform_with_objects

Defined in:
lib/uber/utils.rb

#perform_with_objects(request_method, path, options, klass) ⇒ Object

Parameters:

  • request_method (Symbol)
  • path (String)
  • options (Hash)
  • klass (Class)


20
21
22
23
# File 'lib/uber/utils.rb', line 20

def perform_with_objects(request_method, path, options, klass)
  request = Uber::ApiRequest.new(self, request_method, path, options)
  request.perform_with_objects(klass)
end