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