ban_service.rb « users « services « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
# frozen_string_literal: true
module Users
class BanService < BannedUserBaseService
private
def update_user(user)
user.ban
end
def action
:ban
end
end
end