Class: Spree::Returns::Receive
- Includes:
- PostSale::Receipt
- Defined in:
- app/workflows/spree/returns/receive.rb
Overview
Records what the warehouse actually received (see Spree::PostSale::Receipt).
Instance Method Summary collapse
Methods inherited from Workflow
#call, define_argument_readers, #errors, #halt!, hooks, inherited, model_name, #read_attribute_for_validation, #reject!, workflow_key
Methods included from ServiceModule::Base
Methods included from Workflow::ControlFlow
Instance Method Details
#perform(return_record:, items: nil, received_by: nil) ⇒ Object
13 14 15 16 |
# File 'app/workflows/spree/returns/receive.rb', line 13 def perform(return_record:, items: nil, received_by: nil) super receive end |