'Sleep for the time specified in the exception. If not specified, wait
for 60 seconds.'

def __handle_rate_limit_exception(self, rate_limit_exception):

    retry_after = int(rate_limit_exception.response.headers.get('Retry-After', 60))
    logging.info('Hit    Zendesk    API    rate    limit.    Pausing    for    {}    seconds'.format(retry_after))
    time.sleep(retry_after)
