debian-mirror-gitlab/app/serializers/pipeline_details_entity.rb
2019-09-04 21:01:54 +05:30

13 lines
325 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