2018-08-11 07:00:39 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-08-02 14:16:58 +00:00
|
|
|
module TodosDestroyer
|
|
|
|
class GroupPrivateWorker
|
|
|
|
include ApplicationWorker
|
|
|
|
include TodosDestroyerQueue
|
|
|
|
|
|
|
|
def perform(group_id)
|
|
|
|
::Todos::Destroy::GroupPrivateService.new(group_id).execute
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|