summaryrefslogtreecommitdiff
path: root/app/serializers/evidences/release_entity.rb
diff options
context:
space:
mode:
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