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