Object
# File lib/typhoeus/form.rb, line 8 def initialize(params = {}) @params = params end
# File lib/typhoeus/form.rb, line 24 def multipart? !traversal[:files].empty? end
# File lib/typhoeus/form.rb, line 16 def process! # add params traversal[:params].each { |p| formadd_param(p[0], p[1]) } # add files traversal[:files].each { |file_args| formadd_file(*file_args) } end
# File lib/typhoeus/form.rb, line 28 def to_s Typhoeus::Utils.traversal_to_param_string(traversal, false) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.