Class: Extensiv::CartClient
- Inherits:
-
Client
- Object
- Client
- Extensiv::CartClient
show all
- Defined in:
- lib/extensiv/cart_client.rb
Constant Summary
Constants inherited
from Client
Extensiv::Client::BASE_URL
Instance Attribute Summary
Attributes inherited from Client
#adapter, #api_key, #api_user, #auth_key, #stubs
Instance Method Summary
collapse
Methods inherited from Client
#connection, #initialize
Instance Method Details
#inventory ⇒ Object
5
6
7
|
# File 'lib/extensiv/cart_client.rb', line 5
def inventory
CartInventory.new(self)
end
|
9
10
11
|
# File 'lib/extensiv/cart_client.rb', line 9
def order
CartOrder.new(self)
end
|
13
14
15
|
# File 'lib/extensiv/cart_client.rb', line 13
def product
CartProduct.new(self)
end
|
#ship_method ⇒ Object
17
18
19
|
# File 'lib/extensiv/cart_client.rb', line 17
def ship_method
CartShipMethod.new(self)
end
|