Class: WSDL::SOAP::Fault
- Defined in:
- lib/action_web_service/wsdl/soap/fault.rb
Instance Attribute Summary collapse
-
#encodingstyle ⇒ Object
readonly
Returns the value of attribute encodingstyle.
-
#name ⇒ Object
readonly
required.
-
#namespace ⇒ Object
readonly
Returns the value of attribute namespace.
-
#use ⇒ Object
readonly
required.
Attributes inherited from Info
Instance Method Summary collapse
-
#initialize ⇒ Fault
constructor
A new instance of Fault.
- #parse_attr(attr, value) ⇒ Object
- #parse_element(element) ⇒ Object
- #targetnamespace ⇒ Object
Methods inherited from Info
Constructor Details
#initialize ⇒ Fault
Returns a new instance of Fault.
22 23 24 25 26 27 28 |
# File 'lib/action_web_service/wsdl/soap/fault.rb', line 22 def initialize super @name = nil @use = nil @encodingstyle = nil @namespace = nil end |
Instance Attribute Details
#encodingstyle ⇒ Object (readonly)
Returns the value of attribute encodingstyle.
19 20 21 |
# File 'lib/action_web_service/wsdl/soap/fault.rb', line 19 def encodingstyle @encodingstyle end |
#name ⇒ Object (readonly)
required
17 18 19 |
# File 'lib/action_web_service/wsdl/soap/fault.rb', line 17 def name @name end |
#namespace ⇒ Object (readonly)
Returns the value of attribute namespace.
20 21 22 |
# File 'lib/action_web_service/wsdl/soap/fault.rb', line 20 def namespace @namespace end |
#use ⇒ Object (readonly)
required
18 19 20 |
# File 'lib/action_web_service/wsdl/soap/fault.rb', line 18 def use @use end |
Instance Method Details
#parse_attr(attr, value) ⇒ Object
38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/action_web_service/wsdl/soap/fault.rb', line 38 def parse_attr(attr, value) case attr when NameAttrName @name = XSD::QName.new(targetnamespace, 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
34 35 36 |
# File 'lib/action_web_service/wsdl/soap/fault.rb', line 34 def parse_element(element) nil end |
#targetnamespace ⇒ Object
30 31 32 |
# File 'lib/action_web_service/wsdl/soap/fault.rb', line 30 def targetnamespace parent.targetnamespace end |