blob: 53fef7a46e2f3fb1a0fa659d9ea01d38a507438e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# frozen_string_literal: true
module API
module Entities
class UserWithAdmin < UserPublic
expose :admin?, as: :is_admin
expose :note
expose :namespace_id
expose :created_by, with: UserBasic
end
end
end
API::Entities::UserWithAdmin.prepend_mod_with('API::Entities::UserWithAdmin')
|