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