Skip to content
Snippets Groups Projects
Commit 9c257864 authored by Vladimir Lyzo's avatar Vladimir Lyzo
Browse files

Add supported_protocols to yandex geocoder

parent 96f8fba2
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,10 @@ module Geocoder::Lookup ...@@ -15,6 +15,10 @@ module Geocoder::Lookup
def query_url(query) def query_url(query)
"#{protocol}://geocode-maps.yandex.ru/1.x/?" + url_query_string(query) "#{protocol}://geocode-maps.yandex.ru/1.x/?" + url_query_string(query)
end end
def supported_protocols
[:https]
end
private # --------------------------------------------------------------- private # ---------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment