summaryrefslogtreecommitdiff
path: root/lib/api/entities/mr_note.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-09 18:09:01 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-09 18:09:01 +0000
commite16c0f461fcacffa4e56cf44f9563261d6b5c080 (patch)
treeb1895c8de25d0c7a573b4df59f879cd263f009b5 /lib/api/entities/mr_note.rb
parent1804227b4fb012858930b66419b026a5bf8b8f7d (diff)
downloadgitlab-ce-e16c0f461fcacffa4e56cf44f9563261d6b5c080.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/entities/mr_note.rb')
-rw-r--r--lib/api/entities/mr_note.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/api/entities/mr_note.rb b/lib/api/entities/mr_note.rb
new file mode 100644
index 00000000000..283f7bd1092
--- /dev/null
+++ b/lib/api/entities/mr_note.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+module API
+ module Entities
+ class MRNote < Grape::Entity
+ expose :note
+ expose :author, using: Entities::UserBasic
+ end
+ end
+end