summaryrefslogtreecommitdiff
path: root/app/workers/todos_destroyer/group_private_worker.rb
blob: 3e47eec7461e2c9fef4b9265a8649f126a9e4cdf (plain)
1
2
3
4
5
6
7
8
9
10
module TodosDestroyer
  class GroupPrivateWorker
    include ApplicationWorker
    include TodosDestroyerQueue

    def perform(group_id)
      ::Todos::Destroy::GroupPrivateService.new(group_id).execute
    end
  end
end