class Geocoder::Lookup::Google

def supported_protocols

def supported_protocols
  # Google requires HTTPS if an API key is used.
  if configuration.api_key
    [:https]
  else
    [:http, :https]
  end
end