parse_json_response() static public method

static public parse_json_response ( $response )
Example #1
0
 function __construct($response)
 {
     parent::__construct(\Cloudinary\Api::parse_json_response($response));
     $this->rate_limit_reset_at = strtotime($response->headers["X-FeatureRateLimit-Reset"]);
     $this->rate_limit_allowed = intval($response->headers["X-FeatureRateLimit-Limit"]);
     $this->rate_limit_remaining = intval($response->headers["X-FeatureRateLimit-Remaining"]);
 }