debian-mirror-gitlab/lib/api/entities/clusters/agent.rb

16 lines
322 B
Ruby
Raw Normal View History

2021-04-29 21:17:54 +05:30
# frozen_string_literal: true
module API
module Entities
module Clusters
class Agent < Grape::Entity
expose :id
2022-06-21 17:19:12 +05:30
expose :name
2021-04-29 21:17:54 +05:30
expose :project, with: Entities::ProjectIdentity, as: :config_project
2022-06-21 17:19:12 +05:30
expose :created_at
expose :created_by_user_id
2021-04-29 21:17:54 +05:30
end
end
end
end