Module: Workarea::StatusCalculator::Status
- Extended by:
- ActiveSupport::Concern
- Included in:
- Fulfillment::Status::Canceled, Fulfillment::Status::NotAvailable, Fulfillment::Status::Open, Fulfillment::Status::PartiallyCanceled, Fulfillment::Status::PartiallyShipped, Fulfillment::Status::Shipped, Inventory::CollectionStatus::Available, Inventory::CollectionStatus::Backordered, Inventory::CollectionStatus::LowInventory, Inventory::CollectionStatus::OutOfStock, Order::Status::Abandoned, Order::Status::Canceled, Order::Status::Cart, Order::Status::Checkout, Order::Status::Placed, Order::Status::SuspectedFraud, Payment::Status::Authorized, Payment::Status::Captured, Payment::Status::NotApplicable, Payment::Status::PartiallyCaptured, Payment::Status::PartiallyRefunded, Payment::Status::Pending, Payment::Status::Refunded, Release::Status::Published, Release::Status::Scheduled, Release::Status::Unscheduled
- Defined in:
- app/models/workarea/status_calculator.rb
Instance Method Summary collapse
Instance Method Details
#in_status? ⇒ Boolean
15 16 17 |
# File 'app/models/workarea/status_calculator.rb', line 15 def in_status? raise(NotImplementedError, 'a Status must implement the #in_status?') end |
#initialize(model) ⇒ Object
11 12 13 |
# File 'app/models/workarea/status_calculator.rb', line 11 def initialize(model) @order = @model = model end |