Path: | lib/mechanize/form/file_upload.rb |
Last Update: | Tue Apr 09 12:58:28 +0000 2013 |
This class represents a file upload field found in a form. To use this class, set FileUpload#file_data= to the data of the file you want to upload and FileUpload#mime_type= to the appropriate mime type of the file.
See the example in EXAMPLES