method
new

v2_2_9 -
Show latest stable
-
0 notes -
Class: Proxy
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (38)
- 2_2_9 (0)
- 2_4_6
- 2_5_5
- 2_6_3
- What's this?
new(server, prefix, args=[], meth=:call, delim=".")
public
Creates an object which provides XMLRPC::Client::Proxy#method_missing.
The given server must be an instance of XMLRPC::Client, which is the XML-RPC server to be used for a XML-RPC call.
prefix and delim will be prepended to the method name called onto this object.
An optional parameter meth is the method to use for a RPC. It can be either, call, call2, call_async, call2_async
args are arguments which are automatically given to every XML-RPC call before being provided through method_missing.