Class: Geonames::ToponymSearchResult

Inherits:
Object
  • Object
show all
Defined in:
lib/geonames/toponym_search_result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeToponymSearchResult

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

#toponymsObject

Returns the value of attribute toponyms.



22
23
24
# File 'lib/geonames/toponym_search_result.rb', line 22

def toponyms
  @toponyms
end

#total_results_countObject

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