diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-09-15 13:50:24 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-09-15 13:50:24 +0300 |
commit | 22bf844869bde4e480d981b2f267bc692e701eb4 (patch) | |
tree | 09e0ff53115309652e61df7ef712a37daf41bee4 /lib/ci/api/entities.rb | |
parent | 9a3d0f1d92ee99792b40c401f83121adb8fd3387 (diff) | |
download | gitlab-ce-22bf844869bde4e480d981b2f267bc692e701eb4.tar.gz |
fix specs. Stage 3
Diffstat (limited to 'lib/ci/api/entities.rb')
-rw-r--r-- | lib/ci/api/entities.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/ci/api/entities.rb b/lib/ci/api/entities.rb index 1277d68a364..07f25129663 100644 --- a/lib/ci/api/entities.rb +++ b/lib/ci/api/entities.rb @@ -34,8 +34,12 @@ module Ci end class Project < Grape::Entity - expose :id, :name, :timeout, :token, :default_ref, :gitlab_url, :path, + expose :id, :name, :token, :default_ref, :gitlab_url, :path, :always_build, :polling_interval, :public, :ssh_url_to_repo, :gitlab_id + + expose :timeout do |model| + model.timeout + end end class RunnerProject < Grape::Entity |