Class: RailsBand::ActionController::Event::SendData
- Inherits:
-
BaseEvent
- Object
- BaseEvent
- RailsBand::ActionController::Event::SendData
show all
- Defined in:
- lib/rails_band/action_controller/event/send_data.rb
Overview
A wrapper for the event that is passed to send_data.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
#initialize, #slice, #to_h
Instance Method Details
#disposition ⇒ Object
20
21
22
23
24
|
# File 'lib/rails_band/action_controller/event/send_data.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_data.rb', line 8
def filename
return @filename if defined? @filename
@filename = @event.payload[:filename]
end
|
#status ⇒ Object
26
27
28
29
30
|
# File 'lib/rails_band/action_controller/event/send_data.rb', line 26
def status
return @status if defined? @status
@status = @event.payload[:status]
end
|
#type ⇒ Object
14
15
16
17
18
|
# File 'lib/rails_band/action_controller/event/send_data.rb', line 14
def type
return @type if defined? @type
@type = @event.payload[:type]
end
|