Class: Indix::Prices
- Inherits:
-
Object
- Object
- Indix::Prices
- Extended by:
- Resource
- Defined in:
- lib/indix/prices.rb
Class Method Summary collapse
-
.find(product_id, store_id) ⇒ Mash
Get the prices for a product at a store.
Methods included from Resource
Class Method Details
.find(product_id, store_id) ⇒ Mash
Get the prices for a product at a store
10 11 12 13 |
# File 'lib/indix/prices.rb', line 10 def self.find(product_id, store_id) request_params = {:storeId => store_id} get("/products/#{product_id}/prices", request_params) end |