Class: MuchRails::Action::SendFileResult
- Inherits:
-
BaseCommandResult
- Object
- BaseResult
- BaseCommandResult
- MuchRails::Action::SendFileResult
- Defined in:
- lib/much-rails/action/send_file_result.rb
Overview
MuchRails::Action::SendFileResult is a command result for the ‘send_file` controller response command.
Instance Attribute Summary
Attributes inherited from BaseCommandResult
Instance Method Summary collapse
-
#initialize(*send_file_args) ⇒ SendFileResult
constructor
A new instance of SendFileResult.
- #send_file_args ⇒ Object
Methods inherited from BaseCommandResult
Methods inherited from BaseResult
Constructor Details
#initialize(*send_file_args) ⇒ SendFileResult
Returns a new instance of SendFileResult.
11 12 13 |
# File 'lib/much-rails/action/send_file_result.rb', line 11 def initialize(*send_file_args) super(:send_file, *send_file_args) end |
Instance Method Details
#send_file_args ⇒ Object
15 16 17 |
# File 'lib/much-rails/action/send_file_result.rb', line 15 def send_file_args command_args end |