Class: Geonames::PostalCode
- Inherits:
-
Object
- Object
- Geonames::PostalCode
- Defined in:
- lib/postal_code.rb
Instance Attribute Summary collapse
-
#admin_code_1 ⇒ Object
Returns the value of attribute admin_code_1.
-
#admin_code_2 ⇒ Object
Returns the value of attribute admin_code_2.
-
#admin_name_1 ⇒ Object
Returns the value of attribute admin_name_1.
-
#admin_name_2 ⇒ Object
Returns the value of attribute admin_name_2.
-
#country_code ⇒ Object
Returns the value of attribute country_code.
-
#distance ⇒ Object
Returns the value of attribute distance.
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
-
#place_name ⇒ Object
Returns the value of attribute place_name.
-
#postal_code ⇒ Object
Returns the value of attribute postal_code.
Instance Attribute Details
#admin_code_1 ⇒ Object
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_2 ⇒ Object
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_1 ⇒ Object
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_2 ⇒ Object
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_code ⇒ Object
Returns the value of attribute country_code.
23 24 25 |
# File 'lib/postal_code.rb', line 23 def country_code @country_code end |
#distance ⇒ Object
Returns the value of attribute distance.
30 31 32 |
# File 'lib/postal_code.rb', line 30 def distance @distance end |
#latitude ⇒ Object
Returns the value of attribute latitude.
24 25 26 |
# File 'lib/postal_code.rb', line 24 def latitude @latitude end |
#longitude ⇒ Object
Returns the value of attribute longitude.
25 26 27 |
# File 'lib/postal_code.rb', line 25 def longitude @longitude end |
#place_name ⇒ Object
Returns the value of attribute place_name.
22 23 24 |
# File 'lib/postal_code.rb', line 22 def place_name @place_name end |
#postal_code ⇒ Object
Returns the value of attribute postal_code.
21 22 23 |
# File 'lib/postal_code.rb', line 21 def postal_code @postal_code end |