about summary refs log tree commit diff
path: root/app/workers/admin/suspension_worker.rb
blob: 38761f3b91327974587816dd58bade3e37e0a423 (plain) (blame)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class Admin::SuspensionWorker
  include Sidekiq::Worker

  def perform(account_id)
    SuspendAccountService.new.call(Account.find(account_id))
  end
end