Method: Gitlab::Client::Labels#labels
- Defined in:
- lib/gitlab/client/labels.rb
#labels(project, options = {}) ⇒ Array<Gitlab::ObjectifiedHash>
Gets a list of project’s labels.
14 15 16 |
# File 'lib/gitlab/client/labels.rb', line 14 def labels(project, = {}) get("/projects/#{url_encode project}/labels", query: ) end |