Welcome to mirror list, hosted at ThFree Co, Russian Federation.

group_private_worker.rb « todos_destroyer « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a1943bee2eccb5ef3ccbecb085dcce712063c517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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