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

Inherits:
MethodChainMiddleware
  • Object
show all
Defined in:
lib/convenient_service/service/plugins/raises_on_double_result/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.

Since:

  • 1.0.0

Instance Method Summary collapse

Instance Method Details

#nextConvenientService::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.



35
36
37
38
39
# File 'lib/convenient_service/service/plugins/raises_on_double_result/middleware.rb', line 35

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

  chain.next(...)
end