Module: Sidekiq::Repeat::Repeatable
- Defined in:
- lib/sidekiq/repeat/repeatable.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
54 55 56 57 |
# File 'lib/sidekiq/repeat/repeatable.rb', line 54 def included(klass) klass.extend(Sidekiq::Repeat::Repeatable::ClassMethods) repeatables << klass end |
.repeatables ⇒ Object
46 47 48 |
# File 'lib/sidekiq/repeat/repeatable.rb', line 46 def repeatables @repeatables ||= [] end |
.reschedule_all ⇒ Object
50 51 52 |
# File 'lib/sidekiq/repeat/repeatable.rb', line 50 def reschedule_all repeatables.each(&:reschedule) end |