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