Class: Uber::Partner::Client

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from API::Partners

#me, #payments, #trips

Methods included from Utils

#perform_with_object, #perform_with_objects, #perform_without_object

Constructor Details

#initialize(client) ⇒ Client

Returns a new instance of Client.



182
183
184
# File 'lib/uber/client.rb', line 182

def initialize(client)
  @client = client
end

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



181
182
183
# File 'lib/uber/client.rb', line 181

def client
  @client
end