Class | Iowa::FileData |
In: |
src/Request.rb
|
Parent: | Array |
content_type | [RW] | |
name | [RW] |
Create a file with a path/name as in @name, and write the current data to it. Convenience method. After an Iowa app received an uploaded file and it checks/sets @name as appropriate, a single call to store() will write the file. If @name is blank or nil, the content will instead be written to an instance of Tempfile.