Class: Geonames::ToponymSearchResult
- Inherits:
-
Object
- Object
- Geonames::ToponymSearchResult
- Defined in:
- lib/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.
27 28 29 |
# File 'lib/toponym_search_result.rb', line 27 def initialize @toponyms = Array.new end |
Instance Attribute Details
#toponyms ⇒ Object
Returns the value of attribute toponyms.
23 24 25 |
# File 'lib/toponym_search_result.rb', line 23 def toponyms @toponyms end |
#total_results_count ⇒ Object
Returns the value of attribute total_results_count.
22 23 24 |
# File 'lib/toponym_search_result.rb', line 22 def total_results_count @total_results_count end |