Class: NicInfo::Adr

Inherits:
Object
  • Object
show all
Defined in:
lib/nicinfo/entity.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAdr

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

#countryObject

Returns the value of attribute country.



89
90
91
# File 'lib/nicinfo/entity.rb', line 89

def country
  @country
end

#extendedObject

Returns the value of attribute extended.



89
90
91
# File 'lib/nicinfo/entity.rb', line 89

def extended
  @extended
end

#labelObject

Returns the value of attribute label.



88
89
90
# File 'lib/nicinfo/entity.rb', line 88

def label
  @label
end

#localityObject

Returns the value of attribute locality.



89
90
91
# File 'lib/nicinfo/entity.rb', line 89

def locality
  @locality
end

#poboxObject

Returns the value of attribute pobox.



89
90
91
# File 'lib/nicinfo/entity.rb', line 89

def pobox
  @pobox
end

#postalObject

Returns the value of attribute postal.



89
90
91
# File 'lib/nicinfo/entity.rb', line 89

def postal
  @postal
end

#regionObject

Returns the value of attribute region.



89
90
91
# File 'lib/nicinfo/entity.rb', line 89

def region
  @region
end

#streetObject

Returns the value of attribute street.



89
90
91
# File 'lib/nicinfo/entity.rb', line 89

def street
  @street
end

#structuredObject

Returns the value of attribute structured.



88
89
90
# File 'lib/nicinfo/entity.rb', line 88

def structured
  @structured
end

#typeObject

Returns the value of attribute type.



88
89
90
# File 'lib/nicinfo/entity.rb', line 88

def type
  @type
end