public function delete($path, array $data = null)
{
return $this->request($path, $data, 'delete');
}
public function testHttpDeleteMethodSet() { $api = new Api('*****@*****.**', 'Auth Key'); $result = $api->delete('test'); $this->assertEquals("delete", $result['method']); }