Class: CheckAndNotify::Workers::CheckEveryThirtyMinutesWorker
- Inherits:
-
Object
- Object
- CheckAndNotify::Workers::CheckEveryThirtyMinutesWorker
- Includes:
- Sidekiq::Worker
- Defined in:
- lib/check_and_notify/workers/check_every_thirty_minutes_worker.rb
Instance Method Summary collapse
Instance Method Details
#perform ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/check_and_notify/workers/check_every_thirty_minutes_worker.rb', line 7 def perform callbacks_size = CheckAndNotify::Callbacks. check_after_thirty_minutes_callbacks.count callbacks_size.times do |index| SlackNotifierWorker.perform_async( index, SlackNotifierWorker::EVERY_THIRTY_MINUTES ) end end |