Class: MuchRails::Action::SendDataResult

Inherits:
BaseCommandResult show all
Defined in:
lib/much-rails/action/send_data_result.rb

Overview

MuchRails::Action::SendDataResult is a command result for the ‘send_data` controller response command.

Instance Attribute Summary

Attributes inherited from BaseCommandResult

#command_args, #command_name

Instance Method Summary collapse

Methods inherited from BaseCommandResult

#execute_block

Methods inherited from BaseResult

#execute_block

Constructor Details

#initialize(*send_data_args) ⇒ SendDataResult

Returns a new instance of SendDataResult.



11
12
13
# File 'lib/much-rails/action/send_data_result.rb', line 11

def initialize(*send_data_args)
  super(:send_data, *send_data_args)
end

Instance Method Details

#send_data_argsObject



15
16
17
# File 'lib/much-rails/action/send_data_result.rb', line 15

def send_data_args
  command_args
end