# File lib/gitlab/client/branches.rb, line 43 def protect_branch(project, branch) put("/projects/#{project}/repository/branches/#{branch}/protect") end