diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-15 15:24:10 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-15 15:24:10 +0200 |
commit | 0759dd4513c0190b80058d4851e2bde36cbaede6 (patch) | |
tree | 9f64dbbcd60e2da3c8d35ec038d71dcf2977a3d1 /lib/api/entities.rb | |
parent | 77e3fab89f633b70a0f805cce94d09304ad893e2 (diff) | |
download | gitlab-ce-0759dd4513c0190b80058d4851e2bde36cbaede6.tar.gz |
Namespaces API for admin users
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 429083d75be..2bdcbdc8c7f 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -136,5 +136,9 @@ module API expose :target_id, :target_type, :author_id expose :data, :target_title end + + class Namespace < Grape::Entity + expose :id, :path, :kind + end end end |