Class: SOAP::SOAPFault
Constant Summary
Constants included
from SOAP
AttrActor, AttrArrayType, AttrArrayTypeName, AttrEncodingStyle, AttrEncodingStyleName, AttrMustUnderstand, AttrMustUnderstandName, AttrOffset, AttrOffsetName, AttrPosition, AttrPositionName, AttrRoot, AttrRootName, Base64Literal, EleBody, EleBodyName, EleEnvelope, EleEnvelopeName, EleFault, EleFaultActor, EleFaultActorName, EleFaultCode, EleFaultCodeName, EleFaultDetail, EleFaultDetailName, EleFaultName, EleFaultString, EleFaultStringName, EleHeader, EleHeaderName, EncodingNamespace, EnvelopeNamespace, LiteralNamespace, MediaType, NextActor, PropertyName, SOAPNamespaceTag, TypeMap, VERSION, ValueArray, ValueArrayName, XSDNamespaceTag, XSINamespaceTag
Instance Attribute Summary
Attributes included from SOAPType
#definedtype, #elename, #encodingstyle, #extraattr, #id, #parent, #position, #precedents, #root
Attributes inherited from XSD::NSDBase
#type
Instance Method Summary
collapse
Methods included from SOAPType
#inspect, #rootnode
Methods inherited from SOAPStruct
#[], #[]=, #add, decode, #each, #key?, #members, #replace, #to_obj, #to_s
Methods included from Enumerable
#inject
inherited, #init, types
Constructor Details
#initialize(faultcode = nil, faultstring = nil, faultactor = nil, detail = nil) ⇒ SOAPFault
Returns a new instance of SOAPFault.
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
# File 'lib/action_web_service/soap/element.rb', line 59
def initialize(faultcode = nil, faultstring = nil, faultactor = nil, detail = nil)
super(EleFaultName)
@elename = EleFaultName
@encodingstyle = EncodingNamespace
if faultcode
self.faultcode = faultcode
self.faultstring = faultstring
self.faultactor = faultactor
self.detail = detail
self.faultcode.elename = EleFaultCodeName if self.faultcode
self.faultstring.elename = EleFaultStringName if self.faultstring
self.faultactor.elename = EleFaultActorName if self.faultactor
self.detail.elename = EleFaultDetailName if self.detail
end
faultcode.parent = self if faultcode
faultstring.parent = self if faultstring
faultactor.parent = self if faultactor
detail.parent = self if detail
end
|
Instance Method Details
39
40
41
|
# File 'lib/action_web_service/soap/element.rb', line 39
def detail
self['detail']
end
|
#detail=(rhs) ⇒ Object
55
56
57
|
# File 'lib/action_web_service/soap/element.rb', line 55
def detail=(rhs)
self['detail'] = rhs
end
|
#encode(generator, ns, attrs = {}) {|self.faultcode| ... } ⇒ Object
#faultactor ⇒ Object
35
36
37
|
# File 'lib/action_web_service/soap/element.rb', line 35
def faultactor
self['faultactor']
end
|
#faultactor=(rhs) ⇒ Object
51
52
53
|
# File 'lib/action_web_service/soap/element.rb', line 51
def faultactor=(rhs)
self['faultactor'] = rhs
end
|
#faultcode ⇒ Object
27
28
29
|
# File 'lib/action_web_service/soap/element.rb', line 27
def faultcode
self['faultcode']
end
|
#faultcode=(rhs) ⇒ Object
43
44
45
|
# File 'lib/action_web_service/soap/element.rb', line 43
def faultcode=(rhs)
self['faultcode'] = rhs
end
|
#faultstring ⇒ Object
31
32
33
|
# File 'lib/action_web_service/soap/element.rb', line 31
def faultstring
self['faultstring']
end
|
#faultstring=(rhs) ⇒ Object
47
48
49
|
# File 'lib/action_web_service/soap/element.rb', line 47
def faultstring=(rhs)
self['faultstring'] = rhs
end
|