Class: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Step::Plugins::HasResult::Middleware
- Inherits:
-
MethodChainMiddleware
- Object
- ConvenientService::Service::Plugins::CanHaveSteps::Entities::Step::Plugins::HasResult::Middleware
- Defined in:
- lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/has_result/middleware.rb
Instance Method Summary collapse
Instance Method Details
#next ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result
30 31 32 33 34 |
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/has_result/middleware.rb', line 30 def next(...) result = chain.next(...) result.copy(overrides: {kwargs: {data: extract_data(result), step: step, service: step.organizer, original_service: result.original_service}}) end |