Class: ConvenientService::Service::Plugins::CanHaveConnectedSteps::Middleware
- Inherits:
-
MethodChainMiddleware
- Object
- ConvenientService::Service::Plugins::CanHaveConnectedSteps::Middleware
- Defined in:
- lib/convenient_service/service/plugins/can_have_connected_steps/middleware.rb
Instance Method Summary collapse
Instance Method Details
#next ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result
18 19 20 |
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/middleware.rb', line 18 def next(...) service.steps.any? ? service.steps_result(...) : service.regular_result(...) end |