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

In Files

  • soap/soap.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

SOAP::FaultError

Attributes

detail[RW]
faultactor[R]
faultcode[R]
faultstring[R]

Public Class Methods

new(fault) click to toggle source
 
               # File soap/soap.rb, line 89
def initialize(fault)
  @faultcode = fault.faultcode
  @faultstring = fault.faultstring
  @faultactor = fault.faultactor
  @detail = fault.detail
  super(self.to_s)
end
            

Public Instance Methods

to_s() click to toggle source
 
               # File soap/soap.rb, line 97
def to_s
  str = nil
  if @faultstring and @faultstring.respond_to?('data')
    str = @faultstring.data
  end
  str || '(No faultstring)'
end