2019-12-21 20:55:43 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Evidences
|
|
|
|
class ReleaseEntity < Grape::Entity
|
|
|
|
expose :id
|
|
|
|
expose :tag, as: :tag_name
|
|
|
|
expose :name
|
|
|
|
expose :description
|
|
|
|
expose :created_at
|
|
|
|
expose :project, using: Evidences::ProjectEntity
|
|
|
|
expose :milestones, using: Evidences::MilestoneEntity
|
|
|
|
end
|
|
|
|
end
|
2020-07-28 23:09:34 +05:30
|
|
|
|
|
|
|
Evidences::ReleaseEntity.prepend_if_ee('EE::Evidences::ReleaseEntity')
|