Recurly_Pager::_loadRecordCount PHP Method

_loadRecordCount() private method

Find the total number of results in the collection from the 'X-Records' header.
private _loadRecordCount ( $response )
    private function _loadRecordCount($response)
    {
        if (isset($response->headers['X-Records'])) {
            $this->_count = intval($response->headers['X-Records']);
        }
    }