Module: Shopkit::Client::Orders
- Included in:
- Shopkit::Client
- Defined in:
- lib/shopkit/client/orders.rb
Instance Method Summary collapse
Instance Method Details
#order(id, options = {}) ⇒ Object
11 12 13 |
# File 'lib/shopkit/client/orders.rb', line 11 def order(id, ={}) get("/orders/#{id}", )['order'] end |
#orders(options = {}) ⇒ Object
5 6 7 8 9 |
# File 'lib/shopkit/client/orders.rb', line 5 def orders(={}) traversal() do get('/orders', )['orders'] end end |