module ShopifyClient::API::Product
Public Instance Methods
product(id, params = {})
click to toggle source
# File lib/shopify_client/api/product.rb, line 13 def product(id, params = {}) response = get("products/#{id}.json", params) ShopifyClient::Product.from_response(response) end
products(params = {})
click to toggle source
# File lib/shopify_client/api/product.rb, line 8 def products(params = {}) response = get("products.json", params) ShopifyClient::Product.array_from_response(response) end