summaryrefslogtreecommitdiff
path: root/app/services/users/ban_service.rb
blob: 88e92ebff9b3a613267ff39050c1a8b5c6d5d94c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Users
  class BanService < BannedUserBaseService
    private

    def update_user(user)
      user.ban
    end

    def action
      :ban
    end
  end
end