Module: Sidekiq::Cron
- Defined in:
- lib/sidekiq/cron.rb,
lib/sidekiq/cron/job.rb,
lib/sidekiq/cron/poller.rb,
lib/sidekiq/cron/support.rb,
lib/sidekiq/cron/version.rb,
lib/sidekiq/cron/launcher.rb,
lib/sidekiq/cron/namespace.rb,
lib/sidekiq/cron/web_extension.rb
Defined Under Namespace
Modules: Launcher, Support, WebExtension Classes: Configuration, Job, Namespace, Poller
Constant Summary collapse
- VERSION =
"2.0.1"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
4 5 6 |
# File 'lib/sidekiq/cron.rb', line 4 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
7 8 9 10 |
# File 'lib/sidekiq/cron.rb', line 7 def self.configure self.configuration ||= Configuration.new yield(configuration) if block_given? end |
.reset! ⇒ Object
12 13 14 |
# File 'lib/sidekiq/cron.rb', line 12 def self.reset! self.configuration = Configuration.new end |