Class: Spree::Exchanges::Approve
- Includes:
- PostSale::Approval
- Defined in:
- app/workflows/spree/exchanges/approve.rb
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(exchange:, approver: nil) ⇒ Object
10 11 12 13 |
# File 'app/workflows/spree/exchanges/approve.rb', line 10 def perform(exchange:, approver: nil) super approve end |