Class: Geonames::PostalCode

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

Instance Attribute Summary collapse

Instance Attribute Details

#admin_code_1Object

Returns the value of attribute admin_code_1.



27
28
29
# File 'lib/postal_code.rb', line 27

def admin_code_1
  @admin_code_1
end

#admin_code_2Object

Returns the value of attribute admin_code_2.



29
30
31
# File 'lib/postal_code.rb', line 29

def admin_code_2
  @admin_code_2
end

#admin_name_1Object

Returns the value of attribute admin_name_1.



26
27
28
# File 'lib/postal_code.rb', line 26

def admin_name_1
  @admin_name_1
end

#admin_name_2Object

Returns the value of attribute admin_name_2.



28
29
30
# File 'lib/postal_code.rb', line 28

def admin_name_2
  @admin_name_2
end

#country_codeObject

Returns the value of attribute country_code.



23
24
25
# File 'lib/postal_code.rb', line 23

def country_code
  @country_code
end

#distanceObject

Returns the value of attribute distance.



30
31
32
# File 'lib/postal_code.rb', line 30

def distance
  @distance
end

#latitudeObject

Returns the value of attribute latitude.



24
25
26
# File 'lib/postal_code.rb', line 24

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude.



25
26
27
# File 'lib/postal_code.rb', line 25

def longitude
  @longitude
end

#place_nameObject

Returns the value of attribute place_name.



22
23
24
# File 'lib/postal_code.rb', line 22

def place_name
  @place_name
end

#postal_codeObject

Returns the value of attribute postal_code.



21
22
23
# File 'lib/postal_code.rb', line 21

def postal_code
  @postal_code
end