new2

new2(uri, proxy=nil, timeout=nil)
Class Public methods

Creates an object which represents the remote XML-RPC server at the given uri. The URI should have a host, port, path, user and password. Example: user:password@host:port/path

Raises an ArgumentError if the uri is invalid, or if the protocol isn't http or https.

If a proxy is given it should be in the form of âhost:portâ.

The optional timeout defaults to 30 seconds.

new_from_uri

doc_ruby_on_rails
2015-06-13 16:40:15
Comments
Leave a Comment

Please login to continue.