debian-mirror-gitlab/app/workers/todos_destroyer/confidential_issue_worker.rb

13 lines
368 B
Ruby
Raw Normal View History

2018-11-20 20:47:30 +05:30
# frozen_string_literal: true
2018-11-18 11:00:15 +05:30
module TodosDestroyer
2020-04-08 14:13:33 +05:30
class ConfidentialIssueWorker # rubocop:disable Scalability/IdempotentWorker
2018-11-18 11:00:15 +05:30
include ApplicationWorker
include TodosDestroyerQueue
2019-09-04 21:01:54 +05:30
def perform(issue_id = nil, project_id = nil)
::Todos::Destroy::ConfidentialIssueService.new(issue_id: issue_id, project_id: project_id).execute
2018-11-18 11:00:15 +05:30
end
end
end