diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-03 07:28:02 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-03 07:28:02 +0000 |
commit | 8031be73fede0718b81c1b9d038be8a7c81a946a (patch) | |
tree | 839e439cbe911df2991d2d772cfcf90ff03f0ef5 /lib/api/entities.rb | |
parent | efc6baf782951ea2150b45f524c103d0904dbdc1 (diff) | |
parent | dacf9f9f863dcb67a3dcb8dcfc4c151b10bca5e3 (diff) | |
download | gitlab-ce-8031be73fede0718b81c1b9d038be8a7c81a946a.tar.gz |
Merge branch 'contributors-api' into 'master'
Contributors api
Fixes #1266
See merge request !934
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 b190646a1e3..09fb97abf29 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -218,5 +218,9 @@ module API expose :same, as: :compare_same_ref end + + class Contributor < Grape::Entity + expose :name, :email, :commits, :additions, :deletions + end end end |