lib/geocoder/lookups/yandex.rb in geocoder-1.2.9 vs lib/geocoder/lookups/yandex.rb in geocoder-1.2.10
- old
+ new
@@ -13,9 +13,13 @@
end
def query_url(query)
"#{protocol}://geocode-maps.yandex.ru/1.x/?" + url_query_string(query)
end
+
+ def supported_protocols
+ [:https]
+ end
private # ---------------------------------------------------------------
def results(query)
return [] unless doc = fetch_data(query)