Class: NicInfo::Adr
- Inherits:
-
Object
- Object
- NicInfo::Adr
- Defined in:
- lib/nicinfo/entity.rb
Instance Attribute Summary collapse
-
#country ⇒ Object
Returns the value of attribute country.
-
#extended ⇒ Object
Returns the value of attribute extended.
-
#label ⇒ Object
Returns the value of attribute label.
-
#locality ⇒ Object
Returns the value of attribute locality.
-
#pobox ⇒ Object
Returns the value of attribute pobox.
-
#postal ⇒ Object
Returns the value of attribute postal.
-
#region ⇒ Object
Returns the value of attribute region.
-
#street ⇒ Object
Returns the value of attribute street.
-
#structured ⇒ Object
Returns the value of attribute structured.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize ⇒ Adr
constructor
A new instance of Adr.
Constructor Details
#initialize ⇒ Adr
Returns a new instance of Adr.
90 91 92 93 94 |
# File 'lib/nicinfo/entity.rb', line 90 def initialize @structured = false @label = Array.new @type = Array.new end |
Instance Attribute Details
#country ⇒ Object
Returns the value of attribute country.
89 90 91 |
# File 'lib/nicinfo/entity.rb', line 89 def country @country end |
#extended ⇒ Object
Returns the value of attribute extended.
89 90 91 |
# File 'lib/nicinfo/entity.rb', line 89 def extended @extended end |
#label ⇒ Object
Returns the value of attribute label.
88 89 90 |
# File 'lib/nicinfo/entity.rb', line 88 def label @label end |
#locality ⇒ Object
Returns the value of attribute locality.
89 90 91 |
# File 'lib/nicinfo/entity.rb', line 89 def locality @locality end |
#pobox ⇒ Object
Returns the value of attribute pobox.
89 90 91 |
# File 'lib/nicinfo/entity.rb', line 89 def pobox @pobox end |
#postal ⇒ Object
Returns the value of attribute postal.
89 90 91 |
# File 'lib/nicinfo/entity.rb', line 89 def postal @postal end |
#region ⇒ Object
Returns the value of attribute region.
89 90 91 |
# File 'lib/nicinfo/entity.rb', line 89 def region @region end |
#street ⇒ Object
Returns the value of attribute street.
89 90 91 |
# File 'lib/nicinfo/entity.rb', line 89 def street @street end |
#structured ⇒ Object
Returns the value of attribute structured.
88 89 90 |
# File 'lib/nicinfo/entity.rb', line 88 def structured @structured end |
#type ⇒ Object
Returns the value of attribute type.
88 89 90 |
# File 'lib/nicinfo/entity.rb', line 88 def type @type end |