Пример #1
0
 public static function delete($path, array $params = array())
 {
     $default = array('signature' => GameRocket_Crypto::sign('DELETE', GameRocket_Configuration::baseUrl() . $path, $params, GameRocket_Configuration::secretkey()));
     $response = self::_doRequest('DELETE', $path, array_merge($params, $default));
     if ($response['status'] === 200) {
         return true;
     } else {
         GameRocket_Util::throwStatusCodeException($response['status']);
     }
 }