# File lib/trac4r/query.rb, line 29 def initialize url,user,pass if user && pass url = url.sub 'xmlrpc','login/xmlrpc' end uri = URI.parse(url) use_ssl = (uri.scheme == 'https') ? true : false @host = uri.host @path = uri.path @port = uri.port @connection = XMLRPC::Client.new(@host, @path, @port, nil, nil, user, pass, use_ssl, nil) end
Generated with the Darkfish Rdoc Generator 2.