Method: Gitlab::Client::Branches#branch
- Defined in:
- lib/gitlab/client/branches.rb
permalink #branch(project, branch) ⇒ Gitlab::ObjectifiedHash Also known as: repo_branch
Gets information about a repository branch.
31 32 33 |
# File 'lib/gitlab/client/branches.rb', line 31 def branch(project, branch) get("/projects/#{url_encode project}/repository/branches/#{url_encode branch}") end |