module Typhoeus::Request::Marshal
def marshal_dump
Return the important data needed to serialize this Request, except the
def marshal_dump unmarshallable = %w(@on_complete @on_success @on_failure @on_progress @on_headers @on_body @hydra) (instance_variables - unmarshallable - unmarshallable.map(&:to_sym)).map do |name| [name, instance_variable_get(name)] end end
def marshal_load(attributes)
def marshal_load(attributes) attributes.each { |name, value| instance_variable_set(name, value) } end