diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-24 12:09:42 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-24 12:09:42 +0000 |
commit | 729e3765d5feb762df1ccfbc228a8dd4662aa3f9 (patch) | |
tree | f326420fc64999c6bcc28816ed54f0972fb46459 /lib/api/entities/releases/evidence.rb | |
parent | 6f7881ee9dcec34141a8f34fc814b56b366d2b48 (diff) | |
download | gitlab-ce-729e3765d5feb762df1ccfbc228a8dd4662aa3f9.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/entities/releases/evidence.rb')
-rw-r--r-- | lib/api/entities/releases/evidence.rb | 15 |
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 |