summaryrefslogtreecommitdiff
path: root/lib/api/entities/clusters/agents/authorizations/ci_access.rb
blob: 2eefc4361b11d35426fde3d6df677af99f79c368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

module API
  module Entities
    module Clusters
      module Agents
        module Authorizations
          class CiAccess < Grape::Entity
            expose :agent_id, as: :id
            expose :config_project, with: Entities::ProjectIdentity
            expose :config, as: :configuration
          end
        end
      end
    end
  end
end