Class: Dugway::Drops::RelatedProductsDrop
- Defined in:
- lib/dugway/liquid/drops/related_products_drop.rb
Instance Attribute Summary
Attributes inherited from BaseDrop
Instance Method Summary collapse
-
#initialize(product) ⇒ RelatedProductsDrop
constructor
A new instance of RelatedProductsDrop.
- #products ⇒ Object
Methods inherited from BaseDrop
#before_method, #cart, #context=, #error, #errors, #method_missing, #store, #theme
Constructor Details
#initialize(product) ⇒ RelatedProductsDrop
Returns a new instance of RelatedProductsDrop.
4 5 6 7 |
# File 'lib/dugway/liquid/drops/related_products_drop.rb', line 4 def initialize(product) super() @product = product end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Dugway::Drops::BaseDrop
Instance Method Details
#products ⇒ Object
9 10 11 |
# File 'lib/dugway/liquid/drops/related_products_drop.rb', line 9 def products end |