Method: LabClient::ProjectLabels#list
- Defined in:
- lib/labclient/projects/labels/list.rb
#list(project_id, query = {}) ⇒ Object
29 30 31 32 33 |
# File 'lib/labclient/projects/labels/list.rb', line 29 def list(project_id, query = {}) project_id = format_id(project_id) client.request(:get, "projects/#{project_id}/labels", klass: ProjectLabel, body: query) end |