diff options
author | Mariusz Michalak <stricte@gumed.edu.pl> | 2014-11-24 11:46:27 +0100 |
---|---|---|
committer | Mariusz Michalak <stricte@gumed.edu.pl> | 2014-11-24 11:46:27 +0100 |
commit | cffbdb87f54318fdeab42d56036a86c12ee2c14b (patch) | |
tree | 105599ad206b0554c49ccba6eca1aa0263d06fd9 /lib/api/entities.rb | |
parent | c6609d8447dc8440c0ee2b7b29ac369d4fcaad98 (diff) | |
download | gitlab-ci-cffbdb87f54318fdeab42d56036a86c12ee2c14b.tar.gz |
Grape Entity for WebHook
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 9f4ea7f..986b875 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -23,5 +23,9 @@ module API class RunnerProject < Grape::Entity expose :id, :project_id, :runner_id end + + class WebHook < Grape::Entity + expose :id, :project_id, :url + end end end |