public function __construct()
{
$this->parameters = array();
$this->apiResponse = <<<END
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Cache-Control: max-age=0, private, must-revalidate
Content-Type: application/json; charset=utf-8
Date: Wed, 01 Jun 2016 19:44:32 GMT
ETag: "ed198f38b655b997725facd2ad4a8341"
Server: cloudinary
Status: 200 OK
X-FeatureRateLimit-Limit: 5000
X-FeatureRateLimit-Remaining: 4931
X-FeatureRateLimit-Reset: Wed, 01 Jun 2016 20:00:00 GMT
X-Request-Id: ed5691d50f137e37
X-UA-Compatible: IE=Edge,chrome=1
Content-Length: 482
Connection: keep-alive
{"public_id":"oej8n7ezhwmk1fp1xqfd"}
END;
$this->apiResponse = str_replace("\n", "\r\n", $this->apiResponse);
$this->uploadResponse = <<<END
{
"public_id":"oej8n7ezhwmk1fp1xqfd"
}
END;
$this->uploadResponse = str_replace("\n", "\r\n", $this->uploadResponse);
}