Class: OpenMeteo::Entities::SearchResult
- Inherits:
-
Struct
- Object
- Struct
- OpenMeteo::Entities::SearchResult
- Defined in:
- lib/open_meteo/entities/search.rb
Overview
A Search Result in the Open Meteo Geocoding API. Represents one possible location.
Instance Attribute Summary collapse
-
#admin_1 ⇒ Object
Returns the value of attribute admin_1.
-
#admin_1_id ⇒ Object
Returns the value of attribute admin_1_id.
-
#admin_2 ⇒ Object
Returns the value of attribute admin_2.
-
#admin_2_id ⇒ Object
Returns the value of attribute admin_2_id.
-
#admin_3 ⇒ Object
Returns the value of attribute admin_3.
-
#admin_3_id ⇒ Object
Returns the value of attribute admin_3_id.
-
#admin_4 ⇒ Object
Returns the value of attribute admin_4.
-
#admin_4_id ⇒ Object
Returns the value of attribute admin_4_id.
-
#country ⇒ Object
Returns the value of attribute country.
-
#country_code ⇒ Object
Returns the value of attribute country_code.
-
#country_id ⇒ Object
Returns the value of attribute country_id.
-
#elevation ⇒ Object
Returns the value of attribute elevation.
-
#feature_code ⇒ Object
Returns the value of attribute feature_code.
-
#id ⇒ Object
Returns the value of attribute id.
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
-
#name ⇒ Object
Returns the value of attribute name.
-
#population ⇒ Object
Returns the value of attribute population.
-
#postcodes ⇒ Object
Returns the value of attribute postcodes.
-
#timezone ⇒ Object
Returns the value of attribute timezone.
Instance Attribute Details
#admin_1 ⇒ Object
Returns the value of attribute admin_1
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def admin_1 @admin_1 end |
#admin_1_id ⇒ Object
Returns the value of attribute admin_1_id
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def admin_1_id @admin_1_id end |
#admin_2 ⇒ Object
Returns the value of attribute admin_2
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def admin_2 @admin_2 end |
#admin_2_id ⇒ Object
Returns the value of attribute admin_2_id
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def admin_2_id @admin_2_id end |
#admin_3 ⇒ Object
Returns the value of attribute admin_3
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def admin_3 @admin_3 end |
#admin_3_id ⇒ Object
Returns the value of attribute admin_3_id
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def admin_3_id @admin_3_id end |
#admin_4 ⇒ Object
Returns the value of attribute admin_4
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def admin_4 @admin_4 end |
#admin_4_id ⇒ Object
Returns the value of attribute admin_4_id
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def admin_4_id @admin_4_id end |
#country ⇒ Object
Returns the value of attribute country
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def country @country end |
#country_code ⇒ Object
Returns the value of attribute country_code
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def country_code @country_code end |
#country_id ⇒ Object
Returns the value of attribute country_id
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def country_id @country_id end |
#elevation ⇒ Object
Returns the value of attribute elevation
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def elevation @elevation end |
#feature_code ⇒ Object
Returns the value of attribute feature_code
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def feature_code @feature_code end |
#id ⇒ Object
Returns the value of attribute id
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def id @id end |
#latitude ⇒ Object
Returns the value of attribute latitude
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def latitude @latitude end |
#longitude ⇒ Object
Returns the value of attribute longitude
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def longitude @longitude end |
#name ⇒ Object
Returns the value of attribute name
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def name @name end |
#population ⇒ Object
Returns the value of attribute population
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def population @population end |
#postcodes ⇒ Object
Returns the value of attribute postcodes
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def postcodes @postcodes end |
#timezone ⇒ Object
Returns the value of attribute timezone
5 6 7 |
# File 'lib/open_meteo/entities/search.rb', line 5 def timezone @timezone end |