Class: SELF_SSL::XMLRPC_Client

Inherits:
XMLRPC::Client
  • Object
show all
Defined in:
lib/rxen.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ XMLRPC_Client

Returns a new instance of XMLRPC_Client.



36
37
38
39
40
41
42
43
44
# File 'lib/rxen.rb', line 36

def initialize(*args)
	super
	# Use patched NET::HTTP module for XMLRPC
	@http = SELF_SSL::Net_HTTP.new( @host, @port, 
				       @proxy_host,@proxy_port )
	@http.use_ssl = @use_ssl if @use_ssl
	@http.read_timeout = @timeout
	@http.open_timeout = @timeout
end