Class: Binda::Shopify::Collection
- Defined in:
- lib/binda/shopify/collection.rb
Instance Attribute Summary
Attributes inherited from Item
Instance Method Summary collapse
Methods inherited from Item
#edit_url, #id, #initialize, #method_missing
Constructor Details
This class inherits a constructor from Binda::Shopify::Item
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Binda::Shopify::Item
Instance Method Details
#sorted_products ⇒ Object
5 6 7 |
# File 'lib/binda/shopify/collection.rb', line 5 def sorted_products item.products.map(&:id).join(",") end |