Method: Sidekiq::Config#initialize
- Defined in:
- lib/sidekiq/config.rb
#initialize(options = {}) ⇒ Config
Returns a new instance of Config.
63 64 65 66 67 68 69 |
# File 'lib/sidekiq/config.rb', line 63 def initialize( = {}) = DEFAULTS.merge() [:error_handlers] << ERROR_HANDLER if [:error_handlers].empty? @directory = {} @redis_config = {} @capsules = {} end |