diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-07-29 15:40:08 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-07-29 15:40:08 +0200 |
commit | 4fb6ddfe06164c211f22e69fdec0b248bc61f6b4 (patch) | |
tree | a87b96026449a0fe25fb80114c89014a0cbdebb8 /lib/api/entities.rb | |
parent | a06827bff934a7b387dc4280a555e0c81cc06604 (diff) | |
download | gitlab-ce-4fb6ddfe06164c211f22e69fdec0b248bc61f6b4.tar.gz |
Add ability to manage user email addresses via the API.
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 ecf1412dee5..ce3d09a32cd 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -31,6 +31,10 @@ module API expose :private_token end + class Email < Grape::Entity + expose :id, :email + end + class Hook < Grape::Entity expose :id, :url, :created_at end |