Class: WSDL::SOAP::Address

Inherits:
Info show all
Defined in:
lib/action_web_service/wsdl/soap/address.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

#initializeAddress

Returns a new instance of Address.



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

def initialize
  super
  @location = nil
end

Instance Attribute Details

#locationObject (readonly)

Returns the value of attribute location.



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

def location
  @location
end

Instance Method Details

#parse_attr(attr, value) ⇒ Object



28
29
30
31
32
33
34
35
# File 'lib/action_web_service/wsdl/soap/address.rb', line 28

def parse_attr(attr, value)
  case attr
  when LocationAttrName
    @location = value.source
  else
    nil
  end
end

#parse_element(element) ⇒ Object



24
25
26
# File 'lib/action_web_service/wsdl/soap/address.rb', line 24

def parse_element(element)
  nil
end