module Gitlab::Client::Branches
def branch(project, branch)
-
(Gitlab::ObjectifiedHash)
-
Parameters:
-
branch
(String
) -- The name of the branch. -
project
(Integer, String
) -- The ID or name of a project.
def branch(project, branch) get("/projects/#{url_encode project}/repository/branches/#{url_encode branch}") end