new

new(year, month, day, hour, min, sec) Class Public methods Creates a new XMLRPC::DateTime instance with the parameters year, month, day as date and hour, min, sec as time. Raises an ArgumentError if a parameter is out of range, or if year is not of the Integer type.

conv2value

conv2value(param) Instance Private methods Converts a Ruby object into a XML-RPC <value> tag

methodResponse

methodResponse(is_ret, *params) Instance Public methods Generates a XML-RPC methodResponse document When is_ret is false then the params array must contain only one element, which is a structure of a fault return-value. When is_ret is true then a normal return-value of all the given params is created.

methodCall

methodCall(name, *params) Instance Public methods

new

new(xml_writer = nil) Class Public methods

struct

struct(hash) Class Public methods Converts the given hash to a marshalled object. Returns the given hash if an exception occurs.

int

int(str) Class Public methods Converts a String to an Integer See also String#to_i

fault

fault(hash) Class Public methods Converts the given hash to an XMLRPC::FaultException object by passing the faultCode and faultString attributes of the Hash to XMLRPC::FaultException.new Raises an Exception if the given hash doesn't meet the requirements. Those requirements being: 2 keys 'faultCode' key is an Integer 'faultString' key is a String

double

double(str) Class Public methods Converts a String to a Float See also String#to_f

dateTime

dateTime(str) Class Public methods Converts a the given str to a dateTime.iso8601 formatted date. Raises an exception if the String isn't in dateTime.iso8601 format. See also, XMLRPC::DateTime