Class: Geonames::PostalCode
- Inherits:
-
Object
- Object
- Geonames::PostalCode
- Defined in:
- lib/geonames/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.
22 23 24 |
# File 'lib/geonames/postal_code.rb', line 22 def admin_code_1 @admin_code_1 end |
#admin_code_2 ⇒ Object
Returns the value of attribute admin_code_2.
22 23 24 |
# File 'lib/geonames/postal_code.rb', line 22 def admin_code_2 @admin_code_2 end |
#admin_name_1 ⇒ Object
Returns the value of attribute admin_name_1.
22 23 24 |
# File 'lib/geonames/postal_code.rb', line 22 def admin_name_1 @admin_name_1 end |
#admin_name_2 ⇒ Object
Returns the value of attribute admin_name_2.
22 23 24 |
# File 'lib/geonames/postal_code.rb', line 22 def admin_name_2 @admin_name_2 end |
#country_code ⇒ Object
Returns the value of attribute country_code.
22 23 24 |
# File 'lib/geonames/postal_code.rb', line 22 def country_code @country_code end |
#distance ⇒ Object
Returns the value of attribute distance.
22 23 24 |
# File 'lib/geonames/postal_code.rb', line 22 def distance @distance end |
#latitude ⇒ Object
Returns the value of attribute latitude.
22 23 24 |
# File 'lib/geonames/postal_code.rb', line 22 def latitude @latitude end |
#longitude ⇒ Object
Returns the value of attribute longitude.
22 23 24 |
# File 'lib/geonames/postal_code.rb', line 22 def longitude @longitude end |
#place_name ⇒ Object
Returns the value of attribute place_name.
22 23 24 |
# File 'lib/geonames/postal_code.rb', line 22 def place_name @place_name end |
#postal_code ⇒ Object
Returns the value of attribute postal_code.
22 23 24 |
# File 'lib/geonames/postal_code.rb', line 22 def postal_code @postal_code end |