protected function deleteCurl($url, $body = 'json')
 {
     $answer = $this->client->createCurl($url, CurlClient::METHOD_DELETE, $body);
     if ($body === 'json' && !$this->debug) {
         return $this->decodeAnswer($answer);
     } else {
         return $answer;
     }
 }
Exemple #2
0
 public function getInfo()
 {
     return $this->client->getInfo();
 }