diff options
author | Michel Courtine <michaK@ivoltage.me> | 2015-02-10 04:22:39 +0100 |
---|---|---|
committer | Michel Courtine <michaK@ivoltage.me> | 2015-02-11 15:06:13 +0100 |
commit | 02a1d95fb2503106443feaea82a20ac472c40ecf (patch) | |
tree | 8c7abf3f8889d33a95ca56bea65652def38e8c50 /lib/api/entities.rb | |
parent | b98b7e904b84d58d7f945569f51047149d1d4dda (diff) | |
download | gitlab-ci-02a1d95fb2503106443feaea82a20ac472c40ecf.tar.gz |
Implemented api for project jobs with working tests and updated doc
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 dfd419a..bc21e22 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -27,5 +27,9 @@ module API class WebHook < Grape::Entity expose :id, :project_id, :url end + + class Job < Grape::Entity + expose :id, :name, :commands + end end end |