Intercom\IntercomClient::handleResponse PHP Method

handleResponse() private method

private handleResponse ( Response $response ) : mixed
$response GuzzleHttp\Psr7\Response
return mixed
    private function handleResponse(Response $response)
    {
        $stream = stream_for($response->getBody());
        $data = json_decode($stream->getContents());
        return $data;
    }