module Uber::Utils

Public Instance Methods

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

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

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

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

# 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