'Make a call to the Twitter API to get the rate limit
status for the currently authenticated user or application.
Returns:
None.'

def InitializeRateLimit(self):

    _sleep = self.sleep_on_rate_limit
    if self.sleep_on_rate_limit:
        self.sleep_on_rate_limit = False
    url = ('%s/application/rate_limit_status.json' % self.base_url)
    resp = self._RequestUrl(url, 'GET')
    data = self._ParseAndCheckTwitter(resp.content.decode('utf-8'))
    self.sleep_on_rate_limit = _sleep
    self.rate_limit = RateLimit(**data)
