diff --git a/lib/geocoder/lookups/yandex.rb b/lib/geocoder/lookups/yandex.rb index 225b359a59948ed51ce38eb6457a22433ba82317..daa150e91b0c9c03914046b71e5f29db87201daa 100644 --- a/lib/geocoder/lookups/yandex.rb +++ b/lib/geocoder/lookups/yandex.rb @@ -15,6 +15,10 @@ module Geocoder::Lookup def query_url(query) "#{protocol}://geocode-maps.yandex.ru/1.x/?" + url_query_string(query) end + + def supported_protocols + [:https] + end private # ---------------------------------------------------------------