10 lines
220 B
Ruby
10 lines
220 B
Ruby
class NotificationDispatcher
|
|
include Sidekiq::Worker
|
|
|
|
def perform
|
|
Notification.distinct(:encrypted_notify_user_id).each do |encrypted_id|
|
|
GroupNotifiersPerUser.perform_async(encrypted_id)
|
|
end
|
|
end
|
|
end
|