module Uber::Utils

Public Instance Methods

perform_with_object(request_method, path, options, klass, client=self) click to toggle source

@param request_method [Symbol] @param path [String] @param options [Hash] @param klass [Class]

# File lib/uber/utils.rb, line 10
def perform_with_object(request_method, path, options, klass, client=self)
  request = Uber::ApiRequest.new(client, request_method, path, options)
  request.perform_with_object(klass)
end
perform_with_objects(request_method, path, options, klass, client=self) click to toggle source

@param request_method [Symbol] @param path [String] @param options [Hash] @param klass [Class]

# File lib/uber/utils.rb, line 19
def perform_with_objects(request_method, path, options, klass, client=self)
  request = Uber::ApiRequest.new(client, request_method, path, options)
  request.perform_with_objects(klass)
end
perform_without_object(request_method, path, options, client=self) click to toggle source

@param request_method [Symbol] @param path [String] @param options [Hash]

# File lib/uber/utils.rb, line 27
def perform_without_object(request_method, path, options, client=self)
  request = Uber::ApiRequest.new(client, request_method, path, options)
  request.perform_without_object
end