debian-mirror-gitlab/lib/api/entities/user_with_admin.rb
2020-06-23 00:09:42 +05:30

10 lines
170 B
Ruby

# frozen_string_literal: true
module API
module Entities
class UserWithAdmin < UserPublic
expose :admin?, as: :is_admin
expose :note
end
end
end