diff options
author | Nihad Abbasov <narkoz.2008@gmail.com> | 2012-11-27 11:43:39 -0800 |
---|---|---|
committer | Nihad Abbasov <narkoz.2008@gmail.com> | 2012-11-29 12:11:00 -0800 |
commit | 01eab583d0d16b44554a9790fb502f14ea84faf0 (patch) | |
tree | 60d50ac821d6251c453e4ae805ed925c34f9d251 /lib/api/entities.rb | |
parent | aaa1c94239df831d10489d686d8883b49d601f43 (diff) | |
download | gitlab-ce-01eab583d0d16b44554a9790fb502f14ea84faf0.tar.gz |
API: list wall, snippet and issue notes
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 9e605a607a2..0c44f621b08 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -70,8 +70,10 @@ module Gitlab end class Note < Grape::Entity + expose :id + expose :note, as: :body expose :author, using: Entities::UserBasic - expose :note + expose :updated_at, :created_at end end end |