16 lines
203 B
Ruby
16 lines
203 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module Users
|
||
|
class UnbanService < BannedUserBaseService
|
||
|
private
|
||
|
|
||
|
def update_user(user)
|
||
|
user.activate
|
||
|
end
|
||
|
|
||
|
def action
|
||
|
:unban
|
||
|
end
|
||
|
end
|
||
|
end
|