Module: Catalogcat::Client::Orders
- Defined in:
- lib/catalogcat/client/orders.rb
Instance Method Summary collapse
Instance Method Details
#get_order(id, params = {}) ⇒ Object
8 9 10 |
# File 'lib/catalogcat/client/orders.rb', line 8 def get_order(id, params = {}) get("api/v1/orders/#{id}", params) end |
#list_orders(params = {}) ⇒ Object
4 5 6 |
# File 'lib/catalogcat/client/orders.rb', line 4 def list_orders(params = {}) get("api/v1/orders", params) end |