Class: RailsBand::ActionController::Event::SendStream
- Defined in:
- lib/rails_band/action_controller/event/send_stream.rb
Overview
A wrapper for the event that is passed to send_stream.action_controller.
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
#disposition ⇒ Object
20 21 22 23 24 |
# File 'lib/rails_band/action_controller/event/send_stream.rb', line 20 def disposition return @disposition if defined? @disposition @disposition = @event.payload[:disposition] end |
#filename ⇒ Object
8 9 10 11 12 |
# File 'lib/rails_band/action_controller/event/send_stream.rb', line 8 def filename return @filename if defined? @filename @filename = @event.payload[:filename] end |
#type ⇒ Object
14 15 16 17 18 |
# File 'lib/rails_band/action_controller/event/send_stream.rb', line 14 def type return @type if defined? @type @type = @event.payload[:type] end |