summaryrefslogtreecommitdiff
path: root/app/serializers/evidences/evidence_entity.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/evidences/evidence_entity.rb')
-rw-r--r--app/serializers/evidences/evidence_entity.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/serializers/evidences/evidence_entity.rb b/app/serializers/evidences/evidence_entity.rb
new file mode 100644
index 00000000000..9689ae10895
--- /dev/null
+++ b/app/serializers/evidences/evidence_entity.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+module Evidences
+ class EvidenceEntity < Grape::Entity
+ expose :release, using: Evidences::ReleaseEntity
+ end
+end