15 lines
391 B
Ruby
15 lines
391 B
Ruby
# frozen_string_literal: true
|
|
|
|
class PipelineDetailsEntity < PipelineEntity
|
|
expose :flags do
|
|
expose :latest?, as: :latest
|
|
end
|
|
|
|
expose :details do
|
|
expose :artifacts, using: BuildArtifactEntity
|
|
expose :manual_actions, using: BuildActionEntity
|
|
expose :scheduled_actions, using: BuildActionEntity
|
|
end
|
|
end
|
|
|
|
PipelineDetailsEntity.prepend_if_ee('EE::PipelineDetailsEntity')
|