SevenShores\Hubspot\Resources\BlogPosts::updateAutoSaveBuffer PHP Method

updateAutoSaveBuffer() public method

Updates the auto-save buffer. Live objects will not be impacted.
See also: http://developers.hubspot.com/docs/methods/blogv2/put_blog_posts_blog_post_id_buffer
public updateAutoSaveBuffer ( integer $id, array $params = [] ) : Response
$id integer The blog post ID.
$params array Allowed parameters.
return SevenShores\Hubspot\Http\Response
    function updateAutoSaveBuffer($id, $params = [])
    {
        $endpoint = "https://api.hubapi.com/content/api/v2/blog-posts/{$id}/buffer";
        $options['json'] = $params;
        return $this->client->request('put', $endpoint, $options);
    }