Class: ElVfs::Command::SendFile
- Inherits:
-
ElVfs::Command
- Object
- Model
- ElVfs::Command
- ElVfs::Command::SendFile
- Defined in:
- lib/el_finder_api/el_vfs/command/send_file.rb
Defined Under Namespace
Classes: Arguments
Instance Attribute Summary
Attributes inherited from ElVfs::Command
Instance Method Summary collapse
Methods inherited from ElVfs::Command
Methods inherited from Model
#attributes=, #el_hash, #initialize, options, #to_el_hash
Constructor Details
This class inherits a constructor from ElVfs::Command
Instance Method Details
#run ⇒ Object
11 12 13 |
# File 'lib/el_finder_api/el_vfs/command/send_file.rb', line 11 def run self.headers['Location'] = arguments.entry.url end |