summaryrefslogtreecommitdiff
path: root/app/serializers/evidences/release_entity.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-10-01 15:06:05 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-10-01 15:06:05 +0000
commit05f4b2fb34dbb051b2ce5ddbc801ec42998c019c (patch)
tree0fd7a153f3ed7d00d40e428c08ab81ae3d863afe /app/serializers/evidences/release_entity.rb
parent9e27f0d920cc3891fa7644c5cc0bc280c519fb20 (diff)
downloadgitlab-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.rb13
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