15 lines
194 B
Ruby
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
|