diff options
author | Marc Dequènes (Duck) <duck@redhat.com> | 2016-08-22 12:47:58 +0900 |
---|---|---|
committer | Marc Dequènes (Duck) <duck@redhat.com> | 2016-08-24 17:11:48 +0900 |
commit | 31b2c1ef880349c9579f41e501de0346e59f0a4c (patch) | |
tree | 110ae90600d1943b06bd30ed1ee31114fec34fab /lib/api/entities.rb | |
parent | 02591b043052eb4f8041f8cf51546fab272d7b61 (diff) | |
download | gitlab-ce-31b2c1ef880349c9579f41e501de0346e59f0a4c.tar.gz |
expose 'only_allow_merge_if_build_succeeds' project setting in the API
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 66b85ab1793..0f6d28f1821 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -90,6 +90,7 @@ module API expose :shared_with_groups do |project, options| SharedGroup.represent(project.project_group_links.all, options) end + expose :only_allow_merge_if_build_succeeds end class Member < UserBasic |