unblock_service.rb 186 B

1234567
  1. # frozen_string_literal: true
  2. class UnblockService < BaseService
  3. def call(account, target_account)
  4. account.unblock!(target_account) if account.blocking?(target_account)
  5. end
  6. end