debian-mirror-gitlab/lib/api/entities/user_with_admin.rb
2022-06-21 17:19:12 +05:30

13 lines
276 B
Ruby

# frozen_string_literal: true
module API
module Entities
class UserWithAdmin < UserPublic
expose :admin?, as: :is_admin
expose :note
expose :namespace_id
end
end
end
API::Entities::UserWithAdmin.prepend_mod_with('API::Entities::UserWithAdmin')