Class | XMLRPC::Marshal |
In: |
xmlrpc/marshal.rb
|
Parent: | Object |
dump_response | -> | dump |
load_response | -> | load |
# File xmlrpc/marshal.rb, line 23 def dump_call( methodName, *params ) new.dump_call( methodName, *params ) end
# File xmlrpc/marshal.rb, line 31 def load_call( stringOrReadable ) new.load_call( stringOrReadable ) end
# File xmlrpc/marshal.rb, line 35 def load_response( stringOrReadable ) new.load_response( stringOrReadable ) end
instance methods —————————-
# File xmlrpc/marshal.rb, line 46 def initialize( parser = nil, writer = nil ) set_parser( parser ) set_writer( writer ) end
# File xmlrpc/marshal.rb, line 51 def dump_call( methodName, *params ) create.methodCall( methodName, *params ) end
# File xmlrpc/marshal.rb, line 55 def dump_response( param ) create.methodResponse( ! param.kind_of?( XMLRPC::FaultException ) , param ) end
returns [ methodname, params ]
# File xmlrpc/marshal.rb, line 62 def load_call( stringOrReadable ) parser.parseMethodCall( stringOrReadable ) end