Class: Workarea::Inventory::TransactionItem
- Inherits:
-
Object
- Object
- Workarea::Inventory::TransactionItem
- Includes:
- ApplicationDocument
- Defined in:
- app/models/workarea/inventory/transaction_item.rb
Instance Method Summary collapse
Methods included from ApplicationDocument
Methods included from Sidekiq::Callbacks
add_worker, assert_valid_config!, async, caching_classes?, disable, enable, inline, #run_callbacks, workers, workers_list
Methods included from Mongoid::Document
Instance Method Details
#expired_backorder? ⇒ Boolean
14 15 16 |
# File 'app/models/workarea/inventory/transaction_item.rb', line 14 def expired_backorder? !!backordered_until.try(:past?) end |