add deleteLabel
This commit is contained in:
parent
d56a75b629
commit
5cbf35add3
@ -54,6 +54,10 @@ class Repo{
|
|||||||
return new Label($this,$data);
|
return new Label($this,$data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function deleteLabel($label){
|
||||||
|
$data=$this->client->request($label->url,'DELETE');
|
||||||
|
}
|
||||||
|
|
||||||
public function createIssue($args){
|
public function createIssue($args){
|
||||||
$url="repos/{$this->user}/{$this->repo}/issues";
|
$url="repos/{$this->user}/{$this->repo}/issues";
|
||||||
$data=$this->client->request($url,'POST',$args);
|
$data=$this->client->request($url,'POST',$args);
|
||||||
|
Loading…
Reference in New Issue
Block a user