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.
23 24 25 26 27 28 29 30 |
# File 'lib/wsdl/soap/headerfault.rb', line 23 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.
20 21 22 |
# File 'lib/wsdl/soap/headerfault.rb', line 20 def encodingstyle @encodingstyle end |
#message ⇒ Object (readonly)
required
17 18 19 |
# File 'lib/wsdl/soap/headerfault.rb', line 17 def @message end |
#namespace ⇒ Object (readonly)
Returns the value of attribute namespace.
21 22 23 |
# File 'lib/wsdl/soap/headerfault.rb', line 21 def namespace @namespace end |
#part ⇒ Object (readonly)
required
18 19 20 |
# File 'lib/wsdl/soap/headerfault.rb', line 18 def part @part end |
#use ⇒ Object (readonly)
required
19 20 21 |
# File 'lib/wsdl/soap/headerfault.rb', line 19 def use @use end |
Instance Method Details
#parse_attr(attr, value) ⇒ Object
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/wsdl/soap/headerfault.rb', line 36 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
32 33 34 |
# File 'lib/wsdl/soap/headerfault.rb', line 32 def parse_element(element) nil end |