Sha256: 3b52499233ae4de22264ff73623f99d92c14ed8c5805f0640bb99e5aabd9f930
Contents?: true
Size: 1.22 KB
Versions: 3
Compression:
Stored size: 1.22 KB
Contents
Geocoder.configure do |config| ## Configurable parameters: if you wish to change some configurable ## behaviour in Geocoder, feel free to uncomment the following lines ## and provide custom parameters. # config.timeout = 3 # geocoding service timeout (secs) # config.lookup = :google # name of geocoding service (symbol) # config.language = :en # ISO-639 language code # config.use_https = false # use HTTPS for lookup requests? (if supported) # config.http_proxy = nil # HTTP proxy server (user:pass@host:port) # config.https_proxy = nil # HTTPS proxy server (user:pass@host:port) # config.api_key = nil # API key for geocoding service # config.cache = nil # cache object (must respond to #[], #[]=, and #keys) # config.cache_prefix = "geocoder:" # prefix (string) to use for all cache keys ## exceptions that should not be rescued by default ## (if you want to implement custom error handling); ## supports SocketError and TimeoutError # config.always_raise = [] ## Calculation options # config.units = :mi # :km for kilometers or :mi for miles # config.distances = :linear # :spherical or :linear end
Version data entries
3 entries across 3 versions & 1 rubygems