diff options
| author | miks <miks@cubesystems.lv> | 2012-09-08 20:51:12 +0300 |
|---|---|---|
| committer | miks <miks@cubesystems.lv> | 2012-09-08 20:51:12 +0300 |
| commit | 3b5a90bdf654f9715fd15c189d59bd56492bae8c (patch) | |
| tree | 6546b525c43688aa3a25d4679d8244be03c3a4ed /lib/api/entities.rb | |
| parent | 27e443650746ddb7bf63d9a34d4afaa15350521d (diff) | |
| download | gitlab-ce-3b5a90bdf654f9715fd15c189d59bd56492bae8c.tar.gz | |
Projects hooks API implemented
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 fef5328d093..b50d683f940 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -9,6 +9,10 @@ module Gitlab expose :id, :email, :name, :blocked, :created_at end + class Hook < Grape::Entity + expose :id, :url + end + class Project < Grape::Entity expose :id, :code, :name, :description, :path, :default_branch expose :owner, using: Entities::UserBasic |
