file_upload.rb

Path: lib/mechanize/form/file_upload.rb
Last Update: Fri Aug 24 19:49:54 +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

[Validate]