debian-mirror-gitlab/app/services/users/unban_service.rb

16 lines
203 B
Ruby
Raw Normal View History

2021-10-27 15:23:28 +05:30
# frozen_string_literal: true
module Users
class UnbanService < BannedUserBaseService
private
def update_user(user)
user.activate
end
def action
:unban
end
end
end