module SidekiqUniqueJobs
def configure(options = {})
- Yield: - control to the caller when given block
Options Hash:
(**options)
-
:logger
(Logger
) -- -
:lock_prefix
(String
) -- -
:enabled
(true, false
) -- -
:lock_ttl
(Integer
) -- -
:lock_timeout
(Integer
) --
Parameters:
-
options
(Hash
) -- global gem options
def configure(options = {}) if block_given? yield config else options.each do |key, val| config.send("#{key}=", val) end end end