Class: SidekiqUniqueJobs::Script::Config
- Inherits:
-
Object
- Object
- SidekiqUniqueJobs::Script::Config
- Defined in:
- lib/sidekiq_unique_jobs/script/config.rb
Overview
Class holding gem configuration
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#scripts_path ⇒ Object
Returns the value of attribute scripts_path.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
Initialize a new instance of Config.
Constructor Details
#initialize ⇒ Config
Initialize a new instance of SidekiqUniqueJobs::Script::Config
23 24 25 26 27 |
# File 'lib/sidekiq_unique_jobs/script/config.rb', line 23 def initialize @conn = RedisClient.new @logger = Logger.new($stdout) @scripts_path = nil end |
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
13 14 15 |
# File 'lib/sidekiq_unique_jobs/script/config.rb', line 13 def logger @logger end |
#scripts_path ⇒ Object
Returns the value of attribute scripts_path.
17 18 19 |
# File 'lib/sidekiq_unique_jobs/script/config.rb', line 17 def scripts_path @scripts_path end |