Class: WSDL::SOAP::Address

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



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

def initialize
  super
  @location = nil
end

Instance Attribute Details

#locationObject (readonly)

Returns the value of attribute location.



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

def location
  @location
end

Instance Method Details

#parse_attr(attr, value) ⇒ Object



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

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

#parse_element(element) ⇒ Object



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

def parse_element(element)
  nil
end