module ShopifyClient::API::CustomCollection

Public Instance Methods

custom_collection(id, params = {}) click to toggle source
# File lib/shopify_client/api/custom_collection.rb, line 13
def custom_collection(id, params = {})
  response = get("custom_collections/#{id}.json", params)
  ShopifyClient::CustomCollection.from_response(response)
end
custom_collections(params = {}) click to toggle source
# File lib/shopify_client/api/custom_collection.rb, line 8
def custom_collections(params = {})
  response = get("custom_collections.json", params)
  ShopifyClient::CustomCollection.array_from_response(response)
end