diff options
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 2089e23..2f6565a 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -7,9 +7,15 @@ 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 + + expose :variables, using: Variable end class Runner < Grape::Entity |