Class: RailsBand::ActionDispatch::Event::ProcessMiddleware
- Defined in:
- lib/rails_band/action_dispatch/event/process_middleware.rb
Overview
A wrapper for the event that is passed to process_middleware.action_dispatch.
Instance Attribute Summary
Attributes inherited from BaseEvent
#allocations, #cpu_time, #duration, #end, #idle_time, #name, #time, #transaction_id
Instance Method Summary collapse
Methods inherited from BaseEvent
Constructor Details
This class inherits a constructor from RailsBand::BaseEvent
Instance Method Details
#middleware ⇒ Object
8 9 10 |
# File 'lib/rails_band/action_dispatch/event/process_middleware.rb', line 8 def middleware @middleware ||= @event.payload.fetch(:middleware) end |