Class: Uber::Delivery::Client
- Inherits:
-
Object
- Object
- Uber::Delivery::Client
- Includes:
- API::Deliveries
- Defined in:
- lib/uber/client.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client) ⇒ Client
constructor
A new instance of Client.
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
#client ⇒ Object (readonly)
Returns the value of attribute client.
190 191 192 |
# File 'lib/uber/client.rb', line 190 def client @client end |