Sha256: a16c1e29232dd06da80f588ea6d58b88930e63d021843b0b07bec031aea95154
Contents?: true
Size: 434 Bytes
Versions: 9
Compression:
Stored size: 434 Bytes
Contents
# frozen_string_literal: true module ShopifyAPI class CollectionListing < Base self.primary_key = :collection_id early_july_pagination_release! def product_ids ProductId.all(params: { collection_id: collection_id }) end class ProductId < ArrayBase self.resource_prefix = 'collection_listings/:collection_id/' early_july_pagination_release! end private_constant :ProductId end end
Version data entries
9 entries across 9 versions & 2 rubygems