Class: Sbmt::Outbox::Middleware::ExecutionContext::ContextItemProcessMiddleware

Inherits:
Object
  • Object
show all
Defined in:
lib/sbmt/outbox/middleware/execution_context/context_item_process_middleware.rb

Instance Method Summary collapse

Instance Method Details

#call(item) ⇒ Object



10
11
12
13
14
# File 'lib/sbmt/outbox/middleware/execution_context/context_item_process_middleware.rb', line 10

def call(item)
  ActiveSupport::ExecutionContext[:box_item] = item

  yield
end