Class: WSS4R::Security::Exceptions::WSS4RFault

Inherits:
SOAP::FaultError
  • Object
show all
Defined in:
lib/wss4r/security/exceptions/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(faultcode, faultstring, faultactor, detail) ⇒ WSS4RFault

Returns a new instance of WSS4RFault.



15
16
17
18
19
20
# File 'lib/wss4r/security/exceptions/exceptions.rb', line 15

def initialize(faultcode,faultstring,faultactor,detail)
         @faultcode = faultcode
         @faultstring = FaultString.new(faultstring)
         @faultactor = faultactor
         @detail = detail
end

Instance Attribute Details

#detailObject

Returns the value of attribute detail.



13
14
15
# File 'lib/wss4r/security/exceptions/exceptions.rb', line 13

def detail
  @detail
end

#faultactorObject

Returns the value of attribute faultactor.



13
14
15
# File 'lib/wss4r/security/exceptions/exceptions.rb', line 13

def faultactor
  @faultactor
end

#faultcodeObject

Returns the value of attribute faultcode.



13
14
15
# File 'lib/wss4r/security/exceptions/exceptions.rb', line 13

def faultcode
  @faultcode
end

#faultstringObject

Returns the value of attribute faultstring.



13
14
15
# File 'lib/wss4r/security/exceptions/exceptions.rb', line 13

def faultstring
  @faultstring
end