Method: LabClient::ProjectLabels#subscribe
- Defined in:
- lib/labclient/projects/labels/subscribe.rb
#subscribe(project_id, label_id) ⇒ Object
28 29 30 31 32 33 |
# File 'lib/labclient/projects/labels/subscribe.rb', line 28 def subscribe(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}/subscribe", ProjectLabel) end |