diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-08-04 20:35:04 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-08-05 12:16:24 +0200 |
commit | 9cce83b1290826ad19acffb6e095a0e8b963c05f (patch) | |
tree | 5dc7ba1baff4b8029a8c0c3e5125b9c1fe48ffcb /lib/api | |
parent | 9d95dfe6018a6d039bc4f0d9ff42131b0ff9505c (diff) | |
download | gitlab-ci-9cce83b1290826ad19acffb6e095a0e8b963c05f.tar.gz |
Added support for YAML-defined variables
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/entities.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 910db52..464667f 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -7,15 +7,11 @@ module API expose :builds end - class Variable < Grape::Entity - expose :key, :value - end - class Build < Grape::Entity expose :id, :commands, :path, :ref, :sha, :project_id, :repo_url, :before_sha, :timeout, :allow_git_fetch, :project_name, :options - expose :variables, using: Variable + expose :variables end class Runner < Grape::Entity |