class ShopifyAPI::SmartCollection

Public Instance Methods

order(options = {}) click to toggle source
# File lib/shopify_api/resources/smart_collection.rb, line 11
def order(options = {})
  load_attributes_from_response(put(:order, options, only_id))
end
products() click to toggle source
# File lib/shopify_api/resources/smart_collection.rb, line 7
def products
  Product.find(:all, params: { collection_id: id })
end