glitchier-soc/app/workers/removal_worker.rb

9 lines
No EOL
169 B
Ruby

# frozen_string_literal: true
class RemovalWorker
include Sidekiq::Worker
def perform(status_id)
RemoveStatusService.new.call(Status.find(status_id))
end
end