diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-01 15:06:05 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-01 15:06:05 +0000 |
commit | 05f4b2fb34dbb051b2ce5ddbc801ec42998c019c (patch) | |
tree | 0fd7a153f3ed7d00d40e428c08ab81ae3d863afe /app/serializers/evidences/release_entity.rb | |
parent | 9e27f0d920cc3891fa7644c5cc0bc280c519fb20 (diff) | |
download | gitlab-ce-05f4b2fb34dbb051b2ce5ddbc801ec42998c019c.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/serializers/evidences/release_entity.rb')
-rw-r--r-- | app/serializers/evidences/release_entity.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/serializers/evidences/release_entity.rb b/app/serializers/evidences/release_entity.rb new file mode 100644 index 00000000000..8916ce67b4c --- /dev/null +++ b/app/serializers/evidences/release_entity.rb @@ -0,0 +1,13 @@ +# 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: ProjectEntity + expose :milestones, using: MilestoneEntity + end +end |