Skip to content
Snippets Groups Projects
Commit 5f3300d0 authored by Alex Reisner's avatar Alex Reisner
Browse files

Implement supported_protocols rather than use_ssl?.

This is a better way to force HTTPS.
parent 7760d2bf
No related branches found
No related tags found
No related merge requests found
...@@ -7,8 +7,8 @@ module Geocoder::Lookup ...@@ -7,8 +7,8 @@ module Geocoder::Lookup
"Pickpoint" "Pickpoint"
end end
def use_ssl? def supported_protocols
true [:https]
end end
def required_api_key_parts def required_api_key_parts
......
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