Class: Geonames::ToponymSearchResult
- Inherits:
-
Object
- Object
- Geonames::ToponymSearchResult
- Defined in:
- lib/geonames/toponym_search_result.rb
Instance Attribute Summary collapse
-
#toponyms ⇒ Object
Returns the value of attribute toponyms.
-
#total_results_count ⇒ Object
Returns the value of attribute total_results_count.
Instance Method Summary collapse
-
#initialize ⇒ ToponymSearchResult
constructor
A new instance of ToponymSearchResult.
Constructor Details
#initialize ⇒ ToponymSearchResult
Returns a new instance of ToponymSearchResult.
24 25 26 |
# File 'lib/geonames/toponym_search_result.rb', line 24 def initialize @toponyms = [] end |
Instance Attribute Details
#toponyms ⇒ Object
Returns the value of attribute toponyms.
22 23 24 |
# File 'lib/geonames/toponym_search_result.rb', line 22 def toponyms @toponyms end |
#total_results_count ⇒ Object
Returns the value of attribute total_results_count.
22 23 24 |
# File 'lib/geonames/toponym_search_result.rb', line 22 def total_results_count @total_results_count end |