lib/geocoder/lookups/esri.rb in geocoder-1.6.3 vs lib/geocoder/lookups/esri.rb in geocoder-1.6.4
- old
+ new
@@ -7,9 +7,13 @@
def name
"Esri"
end
+ def supported_protocols
+ [:https]
+ end
+
private # ---------------------------------------------------------------
def base_query_url(query)
action = query.reverse_geocode? ? "reverseGeocode" : "find"
"#{protocol}://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/#{action}?"