debian-mirror-gitlab/app/workers/todos_destroyer/group_private_worker.rb
2020-04-08 14:13:33 +05:30

13 lines
300 B
Ruby

# frozen_string_literal: true
module TodosDestroyer
class GroupPrivateWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
include TodosDestroyerQueue
def perform(group_id)
::Todos::Destroy::GroupPrivateService.new(group_id).execute
end
end
end