debian-mirror-gitlab/app/services/users/ban_service.rb
2021-10-27 15:23:28 +05:30

15 lines
194 B
Ruby

# frozen_string_literal: true
module Users
class BanService < BannedUserBaseService
private
def update_user(user)
user.ban
end
def action
:ban
end
end
end