Class: Spree::Stock::Package::ContentItem
- Inherits:
-
Struct
- Object
- Struct
- Spree::Stock::Package::ContentItem
- Defined in:
- app/models/spree/stock/package.rb
Instance Attribute Summary collapse
-
#line_item ⇒ Object
Returns the value of attribute line_item.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#state ⇒ Object
Returns the value of attribute state.
-
#variant ⇒ Object
Returns the value of attribute variant.
Instance Attribute Details
#line_item ⇒ Object
Returns the value of attribute line_item
4 5 6 |
# File 'app/models/spree/stock/package.rb', line 4 def line_item @line_item end |
#quantity ⇒ Object
Returns the value of attribute quantity
4 5 6 |
# File 'app/models/spree/stock/package.rb', line 4 def quantity @quantity end |
#state ⇒ Object
Returns the value of attribute state
4 5 6 |
# File 'app/models/spree/stock/package.rb', line 4 def state @state end |
#variant ⇒ Object
Returns the value of attribute variant
4 5 6 |
# File 'app/models/spree/stock/package.rb', line 4 def variant @variant end |