Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • xmlrpc/parser.rb

Parent

Methods

XMLRPC::FaultException

Attributes

faultCode[R]
faultString[R]
message[R]

Public Class Methods

new(faultCode, faultString) click to toggle source
 
               # File xmlrpc/parser.rb, line 59
def initialize(faultCode, faultString)
  @faultCode   = faultCode
  @faultString = faultString
end
            

Public Instance Methods

to_h() click to toggle source

returns a hash

 
               # File xmlrpc/parser.rb, line 65
def to_h
  {"faultCode" => @faultCode, "faultString" => @faultString}
end