summaryrefslogtreecommitdiff
path: root/lib/api/entities/clusters/agent.rb
blob: 140b680f5e872e734bc49d586940fa95c088f9fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module API
  module Entities
    module Clusters
      class Agent < Grape::Entity
        expose :id
        expose :name
        expose :project, with: Entities::ProjectIdentity, as: :config_project
        expose :created_at
        expose :created_by_user_id
      end
    end
  end
end