Welcome to mirror list, hosted at ThFree Co, Russian Federation.

user_with_admin.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c225ade6eb6b76cc914ddcaf9e3e24b4f006ccd0 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

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