about summary refs log tree commit diff
path: root/app/services/unblock_service.rb
blob: 3658dcd715fda5ad7345131a6bb47d5b8313b23f (plain) (blame)
1
2
3
4
5
6
7
# frozen_string_literal: true

class UnblockService < BaseService
  def call(account, target_account)
    account.unblock!(target_account) if account.blocking?(target_account)
  end
end