summaryrefslogtreecommitdiff
path: root/lib/api/entities/releases/evidence.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities/releases/evidence.rb')
-rw-r--r--lib/api/entities/releases/evidence.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/api/entities/releases/evidence.rb b/lib/api/entities/releases/evidence.rb
new file mode 100644
index 00000000000..25b2bf6bf6f
--- /dev/null
+++ b/lib/api/entities/releases/evidence.rb
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+module API
+ module Entities
+ module Releases
+ class Evidence < Grape::Entity
+ include ::API::Helpers::Presentable
+
+ expose :summary_sha, as: :sha
+ expose :filepath
+ expose :collected_at
+ end
+ end
+ end
+end