summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-08-04 20:35:04 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-08-05 12:16:24 +0200
commit9cce83b1290826ad19acffb6e095a0e8b963c05f (patch)
tree5dc7ba1baff4b8029a8c0c3e5125b9c1fe48ffcb /lib/api
parent9d95dfe6018a6d039bc4f0d9ff42131b0ff9505c (diff)
downloadgitlab-ci-9cce83b1290826ad19acffb6e095a0e8b963c05f.tar.gz
Added support for YAML-defined variables
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/entities.rb6
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