Class
Marshalling of XMLRPC::Create#methodCall
and XMLRPC::Create#methodResponse
Class Methods
lib/xmlrpc/marshal.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/marshal.rb, line 21
def dump_call( methodName, *params )
new.dump_call( methodName, *params )
end
No documentation available
lib/xmlrpc/marshal.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/marshal.rb, line 25
def dump_response( param )
new.dump_response( param )
end
No documentation available
lib/xmlrpc/marshal.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/marshal.rb, line 29
def load_call( stringOrReadable )
new.load_call( stringOrReadable )
end
No documentation available
lib/xmlrpc/marshal.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/marshal.rb, line 33
def load_response( stringOrReadable )
new.load_response( stringOrReadable )
end
No documentation available
lib/xmlrpc/marshal.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/marshal.rb, line 42
def initialize( parser = nil, writer = nil )
set_parser( parser )
set_writer( writer )
end
No documentation available
Instance Methods
lib/xmlrpc/marshal.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/marshal.rb, line 47
def dump_call( methodName, *params )
create.methodCall( methodName, *params )
end
No documentation available
lib/xmlrpc/marshal.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/marshal.rb, line 51
def dump_response( param )
create.methodResponse( ! param.kind_of?( XMLRPC::FaultException ) , param )
end
No documentation available
lib/xmlrpc/marshal.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/marshal.rb, line 56
def load_call( stringOrReadable )
parser.parseMethodCall( stringOrReadable )
end
Returns [ methodname, params ]
lib/xmlrpc/marshal.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/marshal.rb, line 61
def load_response( stringOrReadable )
parser.parseMethodResponse( stringOrReadable )[1]
end
Returns paramOrFault