Class: Geonames::ToponymSearchResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeToponymSearchResult

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

#toponymsObject

Returns the value of attribute toponyms


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

def toponyms
  @toponyms
end

#total_results_countObject

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