Module: Spree::Core::StateMachines::InventoryUnit

Extended by:
ActiveSupport::Concern
Defined in:
lib/spree/core/state_machines/inventory_unit.rb

Overview

Inventory Units’ state machine

for each event the following instance methods are dynamically implemented:

#<event_name>
#<event_name>!
#can_<event_name>?

for each state the following instance methods are implemented:

#<state_name>?