blob: 54285884a52d89e91e8ccc0c85db6a58dd0df14e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
module MailScheduler
class IssueDueWorker
include ApplicationWorker
include MailSchedulerQueue
def perform(project_id)
Issue.opened.due_tomorrow.in_projects(project_id).preload(:project).find_each do |issue|
notification_service.issue_due(issue)
end
end
end
end
|