Class: Dugway::Drops::OptionGroupValueDrop
- Inherits:
-
BaseDrop
- Object
- Liquid::Drop
- BaseDrop
- Dugway::Drops::OptionGroupValueDrop
show all
- Defined in:
- lib/dugway/liquid/drops/option_group_value_drop.rb
Instance Attribute Summary
Attributes inherited from BaseDrop
#params, #request, #source
Instance Method Summary
collapse
Methods inherited from BaseDrop
#before_method, #cart, #context=, #error, #errors, #initialize, #method_missing, #store, #theme
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Dugway::Drops::BaseDrop
Instance Method Details
#id ⇒ Object
5
6
7
|
# File 'lib/dugway/liquid/drops/option_group_value_drop.rb', line 5
def id
source['id']
end
|
#name ⇒ Object
9
10
11
|
# File 'lib/dugway/liquid/drops/option_group_value_drop.rb', line 9
def name
source['name']
end
|
#option_group_id ⇒ Object
17
18
19
|
# File 'lib/dugway/liquid/drops/option_group_value_drop.rb', line 17
def option_group_id
source['option_group_id']
end
|
#position ⇒ Object
13
14
15
|
# File 'lib/dugway/liquid/drops/option_group_value_drop.rb', line 13
def position
source['position']
end
|