Class: Inventory::ItemOnOrder::Result
- Inherits:
-
Data
- Object
- Data
- Inventory::ItemOnOrder::Result
- Defined in:
- app/services/inventory/item_on_order.rb
Instance Attribute Summary collapse
-
#on_order ⇒ Object
readonly
Returns the value of attribute on_order.
Instance Method Summary collapse
-
#initialize(on_order: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(on_order: nil) ⇒ Result
Returns a new instance of Result.
3 |
# File 'app/services/inventory/item_on_order.rb', line 3 def initialize(on_order: nil) = super |
Instance Attribute Details
#on_order ⇒ Object (readonly)
Returns the value of attribute on_order
2 3 4 |
# File 'app/services/inventory/item_on_order.rb', line 2 def on_order @on_order end |