Class: ConvenientService::Service::Plugins::CanHaveSequentialSteps::Middleware
- Inherits:
-
MethodChainMiddleware
- Object
- ConvenientService::Service::Plugins::CanHaveSequentialSteps::Middleware
- Defined in:
- lib/convenient_service/service/plugins/can_have_sequential_steps/middleware.rb
Instance Method Summary collapse
Instance Method Details
#next ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result
18 19 20 21 22 |
# File 'lib/convenient_service/service/plugins/can_have_sequential_steps/middleware.rb', line 18 def next(...) return chain.next(...) if entity.steps.none? last_completed_step.result end |