diff --git a/lib/geocoder/lookups/location_iq.rb b/lib/geocoder/lookups/location_iq.rb index 197e7696a636090b0e18da6a6e67fe10e4f5167a..3773d4063a2770781f75c9447ebd2487f00ac1c3 100644 --- a/lib/geocoder/lookups/location_iq.rb +++ b/lib/geocoder/lookups/location_iq.rb @@ -16,6 +16,10 @@ module Geocoder::Lookup "#{protocol}://locationiq.org/v1/#{method}.php?key=#{configuration.api_key}&" + url_query_string(query) end + def supported_protocols + [:http, :https] + end + private def results(query)