Class: WSDL::SOAP::HeaderFault

Inherits:
Info show all
Defined in:
lib/action_web_service/wsdl/soap/headerfault.rb

Instance Attribute Summary collapse

Attributes inherited from Info

#id, #parent, #root

Instance Method Summary collapse

Methods inherited from Info

#inspect, #parse_epilogue

Constructor Details

#initializeHeaderFault

Returns a new instance of HeaderFault.



23
24
25
26
27
28
29
30
# File 'lib/action_web_service/wsdl/soap/headerfault.rb', line 23

def initialize
  super
  @message = nil
  @part = nil
  @use = nil
  @encodingstyle = nil
  @namespace = nil
end

Instance Attribute Details

#encodingstyleObject (readonly)

Returns the value of attribute encodingstyle.



20
21
22
# File 'lib/action_web_service/wsdl/soap/headerfault.rb', line 20

def encodingstyle
  @encodingstyle
end

#messageObject (readonly)

required



17
18
19
# File 'lib/action_web_service/wsdl/soap/headerfault.rb', line 17

def message
  @message
end

#namespaceObject (readonly)

Returns the value of attribute namespace.



21
22
23
# File 'lib/action_web_service/wsdl/soap/headerfault.rb', line 21

def namespace
  @namespace
end

#partObject (readonly)

required



18
19
20
# File 'lib/action_web_service/wsdl/soap/headerfault.rb', line 18

def part
  @part
end

#useObject (readonly)

required



19
20
21
# File 'lib/action_web_service/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/action_web_service/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/action_web_service/wsdl/soap/headerfault.rb', line 32

def parse_element(element)
  nil
end