Class: ConvenientService::Service::Plugins::RaisesOnDoubleResult::Middleware

Inherits:
MethodChainMiddleware
  • Object
show all
Defined in:
lib/convenient_service/service/plugins/raises_on_double_result/middleware.rb

Instance Method Summary collapse

Instance Method Details

#nextConvenientService::Service::Plugins::HasJSendResult::Entities::Result



30
31
32
33
34
# File 'lib/convenient_service/service/plugins/raises_on_double_result/middleware.rb', line 30

def next(...)
  refute_has_j_send_result! || mark_as_has_j_send_result!

  chain.next(...)
end