Class: Uber::Delivery::Client

Inherits:
Object
  • Object
show all
Includes:
API::Deliveries
Defined in:
lib/uber/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from API::Deliveries

#add_delivery, #add_quote, #add_rating, #cancel, #list, #rating_tags, #ratings, #receipt, #regions, #retrieve

Methods included from Utils

#perform_with_object, #perform_with_objects, #perform_without_object

Constructor Details

#initialize(client) ⇒ Client

Returns a new instance of Client.



191
192
193
# File 'lib/uber/client.rb', line 191

def initialize(client)
  @client = client
end

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



190
191
192
# File 'lib/uber/client.rb', line 190

def client
  @client
end