class Geocoder::Lookup::Google

Public Instance Methods

name() click to toggle source
# File lib/geocoder/lookups/google.rb, line 7
def name
  "Google"
end
supported_protocols() click to toggle source
# File lib/geocoder/lookups/google.rb, line 15
def supported_protocols
  # Google requires HTTPS if an API key is used.
  if configuration.api_key
    [:https]
  else
    [:http, :https]
  end
end