Skip to content

Commit a42ccc4

Browse files
author
Dennis Oderwald
committed
Add 'delete' request method
1 parent be23d97 commit a42ccc4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Torann/LaravelAsana/AsanaCurl.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,17 @@ public function put($url, array $data = array())
7777
return $this->request(self::METHOD_PUT, $url, $data);
7878
}
7979

80+
/**
81+
* Delete request
82+
*
83+
* @param string $url
84+
* @param array $data
85+
*/
86+
public function delete($url, array $data = array())
87+
{
88+
return $this->request(self::METHOD_DELETE, $url, $data);
89+
}
90+
8091
/**
8192
* Return error
8293
*

0 commit comments

Comments
 (0)