11 lines
222 B
Ruby
11 lines
222 B
Ruby
![]() |
module TodosDestroyer
|
||
|
class GroupPrivateWorker
|
||
|
include ApplicationWorker
|
||
|
include TodosDestroyerQueue
|
||
|
|
||
|
def perform(group_id)
|
||
|
::Todos::Destroy::GroupPrivateService.new(group_id).execute
|
||
|
end
|
||
|
end
|
||
|
end
|