summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
authorMariusz Michalak <stricte@gumed.edu.pl>2014-11-24 11:46:27 +0100
committerMariusz Michalak <stricte@gumed.edu.pl>2014-11-24 11:46:27 +0100
commitcffbdb87f54318fdeab42d56036a86c12ee2c14b (patch)
tree105599ad206b0554c49ccba6eca1aa0263d06fd9 /lib/api/entities.rb
parentc6609d8447dc8440c0ee2b7b29ac369d4fcaad98 (diff)
downloadgitlab-ci-cffbdb87f54318fdeab42d56036a86c12ee2c14b.tar.gz
Grape Entity for WebHook
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb4
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