Method: Gitlab::Client::Branches#branches
- Defined in:
- lib/gitlab/client/branches.rb
#branches(project, options = {}) ⇒ Array<Gitlab::ObjectifiedHash> Also known as: repo_branches
Gets a list of project repositiory branches.
17 18 19 |
# File 'lib/gitlab/client/branches.rb', line 17 def branches(project, = {}) get("/projects/#{url_encode project}/repository/branches", query: ) end |