Class: Sidekiq::ReliableJob::Configuration
- Inherits:
-
Object
- Object
- Sidekiq::ReliableJob::Configuration
- Defined in:
- lib/sidekiq/reliable_job/configuration.rb
Overview
Configuration options for ReliableJob.
Instance Attribute Summary collapse
-
#base_class ⇒ Object
Returns the value of attribute base_class.
-
#enable_for_all_jobs ⇒ Object
Returns the value of attribute enable_for_all_jobs.
-
#preserve_dead_jobs ⇒ Object
Returns the value of attribute preserve_dead_jobs.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
9 10 11 12 13 |
# File 'lib/sidekiq/reliable_job/configuration.rb', line 9 def initialize @base_class = "ActiveRecord::Base" @enable_for_all_jobs = false @preserve_dead_jobs = false end |
Instance Attribute Details
#base_class ⇒ Object
Returns the value of attribute base_class.
7 8 9 |
# File 'lib/sidekiq/reliable_job/configuration.rb', line 7 def base_class @base_class end |
#enable_for_all_jobs ⇒ Object
Returns the value of attribute enable_for_all_jobs.
7 8 9 |
# File 'lib/sidekiq/reliable_job/configuration.rb', line 7 def enable_for_all_jobs @enable_for_all_jobs end |
#preserve_dead_jobs ⇒ Object
Returns the value of attribute preserve_dead_jobs.
7 8 9 |
# File 'lib/sidekiq/reliable_job/configuration.rb', line 7 def preserve_dead_jobs @preserve_dead_jobs end |