Class: Extensiv::CartClient

Inherits:
Client
  • Object
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

Constructor Details

This class inherits a constructor from Extensiv::Client

Instance Method Details

#inventoryObject



5
6
7
# File 'lib/extensiv/cart_client.rb', line 5

def inventory
  CartInventory.new(self)
end

#orderObject



9
10
11
# File 'lib/extensiv/cart_client.rb', line 9

def order
  CartOrder.new(self)
end

#productObject



13
14
15
# File 'lib/extensiv/cart_client.rb', line 13

def product
  CartProduct.new(self)
end

#ship_methodObject



17
18
19
# File 'lib/extensiv/cart_client.rb', line 17

def ship_method
  CartShipMethod.new(self)
end