Class: ShopifyAPI::CollectionListing

Inherits:
Base
  • Object
show all
Defined in:
lib/shopify_api/resources/collection_listing.rb

Instance Method Summary collapse

Methods inherited from Base

activate_session, api_version, api_version=, #as_json, clear_session, early_july_pagination?, #encode, headers, init_prefix, init_prefix_explicit, #persisted?, prefix, prefix=, prefix_source, resource_prefix, resource_prefix=, version_validation!

Methods included from Countable

#count

Instance Method Details

#product_idsObject


7
8
9
# File 'lib/shopify_api/resources/collection_listing.rb', line 7

def product_ids
  ProductId.all(params: { collection_id: collection_id })
end