Package gitlab3 :: Class GitLab :: Class Project :: Class Branch
[hide private]
[frames] | no frames]

Class Branch

A project branch. See http://github.com/gitlabhq/gitlabhq/blob/master/doc/api/repositories.md#list-repository-branches

Instance Methods [hide private]
 
protect()
Protect this branch.
 
unprotect()
Unprotect this branch.
Method Details [hide private]

protect()

 

Protect this branch. Calling this on an already protected branch will have no effect.

unprotect()

 

Unprotect this branch. Calling this on an already unprotected branch will have no effect.