Method: LabClient::ProjectLabels#update
- Defined in:
- lib/labclient/projects/labels/update.rb
#update(project_id, label_id, query) ⇒ Object
39 40 41 42 43 44 |
# File 'lib/labclient/projects/labels/update.rb', line 39 def update(project_id, label_id, query) project_id = format_id(project_id) label_id = format_id(label_id) client.request(:put, "projects/#{project_id}/labels/#{label_id}", ProjectLabel, query) end |