Class: SpreeCmCommissioner::Inventory
- Inherits:
-
Object
- Object
- SpreeCmCommissioner::Inventory
- Includes:
- ActiveModel::Model
- Defined in:
- app/models/spree_cm_commissioner/inventory.rb
Instance Attribute Summary collapse
-
#inventory_date ⇒ Object
Returns the value of attribute inventory_date.
-
#max_capacity ⇒ Object
Returns the value of attribute max_capacity.
-
#product_type ⇒ Object
Returns the value of attribute product_type.
-
#quantity_available ⇒ Object
Returns the value of attribute quantity_available.
-
#variant_id ⇒ Object
Returns the value of attribute variant_id.
Instance Attribute Details
#inventory_date ⇒ Object
Returns the value of attribute inventory_date.
5 6 7 |
# File 'app/models/spree_cm_commissioner/inventory.rb', line 5 def inventory_date @inventory_date end |
#max_capacity ⇒ Object
Returns the value of attribute max_capacity.
5 6 7 |
# File 'app/models/spree_cm_commissioner/inventory.rb', line 5 def max_capacity @max_capacity end |
#product_type ⇒ Object
Returns the value of attribute product_type.
5 6 7 |
# File 'app/models/spree_cm_commissioner/inventory.rb', line 5 def product_type @product_type end |
#quantity_available ⇒ Object
Returns the value of attribute quantity_available.
5 6 7 |
# File 'app/models/spree_cm_commissioner/inventory.rb', line 5 def quantity_available @quantity_available end |
#variant_id ⇒ Object
Returns the value of attribute variant_id.
5 6 7 |
# File 'app/models/spree_cm_commissioner/inventory.rb', line 5 def variant_id @variant_id end |