Class: ConvenientService::Service::Plugins::CanHaveSequentialSteps::Middleware Private
- Inherits:
-
MethodChainMiddleware
- Object
- ConvenientService::Service::Plugins::CanHaveSequentialSteps::Middleware
- Defined in:
- lib/convenient_service/service/plugins/can_have_sequential_steps/middleware.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
Instance Method Details
#next ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
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 |