Path: | lib/mechanize/form/file_upload.rb |
Last Update: | Wed Jun 20 02:11:21 +0000 2012 |
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