# File lib/rbvmomi/trivial_soap.rb, line 12 def initialize opts fail unless opts.is_a? Hash @opts = opts return unless @opts[:host] # for testcases @debug = @opts[:debug] @cookie = nil @lock = Mutex.new @http = nil restart_http end