Files
openfoodnetwork/config/initializers/geocoder.rb
2018-10-16 16:49:52 +11:00

7 lines
207 B
Ruby

# Google requires an API key with a billing account to use their API.
# The key is stored in config/application.yml.
Geocoder.configure(
use_https: true,
api_key: ENV.fetch('GOOGLE_MAPS_API_KEY', nil)
)