debian-mirror-gitlab/app/serializers/pipeline_details_entity.rb

11 lines
326 B
Ruby
Raw Normal View History

2018-11-18 11:00:15 +05:30
# frozen_string_literal: true
2017-09-10 17:25:29 +05:30
class PipelineDetailsEntity < PipelineEntity
expose :details do
2018-11-08 19:23:39 +05:30
expose :ordered_stages, as: :stages, using: StageEntity
2017-09-10 17:25:29 +05:30
expose :artifacts, using: BuildArtifactEntity
expose :manual_actions, using: BuildActionEntity
2018-12-05 23:21:45 +05:30
expose :scheduled_actions, using: BuildActionEntity
2017-09-10 17:25:29 +05:30
end
end