summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 885ce7d44bc..0cc0db62138 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -337,6 +337,12 @@ module API
expose(:downvote?) { |note| false }
end
+ class NoteTemplate < Grape::Entity
+ expose :id
+ expose :title
+ expose :note
+ end
+
class AwardEmoji < Grape::Entity
expose :id
expose :name