Class: WSDL::SOAP::HeaderFault
- Defined in:
- lib/wsdl/soap/headerfault.rb
Instance Attribute Summary collapse
-
#encodingstyle ⇒ Object
readonly
Returns the value of attribute encodingstyle.
-
#message ⇒ Object
readonly
required.
-
#namespace ⇒ Object
readonly
Returns the value of attribute namespace.
-
#part ⇒ Object
readonly
required.
-
#use ⇒ Object
readonly
required.
Attributes inherited from Info
Instance Method Summary collapse
-
#initialize ⇒ HeaderFault
constructor
A new instance of HeaderFault.
- #parse_attr(attr, value) ⇒ Object
- #parse_element(element) ⇒ Object
Methods inherited from Info
Constructor Details
#initialize ⇒ HeaderFault
Returns a new instance of HeaderFault.
24 25 26 27 28 29 30 31 |
# File 'lib/wsdl/soap/headerfault.rb', line 24 def initialize super @message = nil @part = nil @use = nil @encodingstyle = nil @namespace = nil end |
Instance Attribute Details
#encodingstyle ⇒ Object (readonly)
Returns the value of attribute encodingstyle.
21 22 23 |
# File 'lib/wsdl/soap/headerfault.rb', line 21 def encodingstyle @encodingstyle end |
#message ⇒ Object (readonly)
required
18 19 20 |
# File 'lib/wsdl/soap/headerfault.rb', line 18 def @message end |
#namespace ⇒ Object (readonly)
Returns the value of attribute namespace.
22 23 24 |
# File 'lib/wsdl/soap/headerfault.rb', line 22 def namespace @namespace end |
#part ⇒ Object (readonly)
required
19 20 21 |
# File 'lib/wsdl/soap/headerfault.rb', line 19 def part @part end |
#use ⇒ Object (readonly)
required
20 21 22 |
# File 'lib/wsdl/soap/headerfault.rb', line 20 def use @use end |
Instance Method Details
#parse_attr(attr, value) ⇒ Object
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/wsdl/soap/headerfault.rb', line 37 def parse_attr(attr, value) case attr when MessageAttrName @message = value when PartAttrName @part = value.source when UseAttrName @use = value.source when EncodingStyleAttrName @encodingstyle = value.source when NamespaceAttrName @namespace = value.source else nil end end |
#parse_element(element) ⇒ Object
33 34 35 |
# File 'lib/wsdl/soap/headerfault.rb', line 33 def parse_element(element) nil end |