class Typhoeus::Form
def initialize(params = {})
def initialize(params = {}) @params = params end
def process!
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
def to_s
def to_s Typhoeus::Utils.traversal_to_param_string(traversal, false) end
def traversal
def traversal @traversal ||= Typhoeus::Utils.traverse_params_hash(params) end