Skip to content
Snippets Groups Projects
Commit 961c95c1 authored by Tamas Erdos's avatar Tamas Erdos
Browse files

updating configuration file with `for_storage`

parent a7e9f18d
No related branches found
No related tags found
No related merge requests found
......@@ -61,6 +61,7 @@ module Geocoder
:units,
:distances,
:basic_auth,
:for_storage,
:logger,
:kernel_logger_level
]
......@@ -104,6 +105,7 @@ module Geocoder
@data[:cache] = nil # cache object (must respond to #[], #[]=, and #keys)
@data[:cache_prefix] = "geocoder:" # prefix (string) to use for all cache keys
@data[:basic_auth] = {} # user and password for basic auth ({:user => "user", :password => "password"})
@data[:for_storage] = nil # will the result be stored for non-caching purposes (boolean)
@data[:logger] = :kernel # :kernel or Logger instance
@data[:kernel_logger_level] = ::Logger::WARN # log level, if kernel logger is used
......
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