class RailsBand::ActionController::Event::SendData
A wrapper for the event that is passed to ‘send_data.action_controller`.
Public Instance Methods
disposition()
click to toggle source
# 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()
click to toggle source
# 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()
click to toggle source
# 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()
click to toggle source
# File lib/rails_band/action_controller/event/send_data.rb, line 14 def type return @type if defined? @type @type = @event.payload[:type] end