Method: LabClient::ProjectLabels#create
- Defined in:
- lib/labclient/projects/labels/create.rb
#create(project_id, query) ⇒ Object
33 34 35 36 37 |
# File 'lib/labclient/projects/labels/create.rb', line 33 def create(project_id, query) project_id = format_id(project_id) client.request(:post, "projects/#{project_id}/labels", ProjectLabel, query) end |