class CheckAndNotify::Workers::CheckEveryThirtyMinutesWorker
Public Instance Methods
perform()
click to toggle source
# 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