lib/geocoder/results/nominatim.rb in geocoder-1.2.6 vs lib/geocoder/results/nominatim.rb in geocoder-1.2.7

- old
+ new

@@ -2,10 +2,10 @@ module Geocoder::Result class Nominatim < Base def poi - %w[stadium bus_stop tram_stop].each do |key| + %w[building university school hospital mall hotel restaurant stadium bus_stop tram_stop].each do |key| return @data['address'][key] if @data['address'].key?(key) end return nil end