'If a resource family is unknown, add it to the object\'s
dictionary. This is to deal with new endpoints being added to
the API, but not necessarily to the information returned by
``/account/rate_limit_status.json`` endpoint.
For example, if Twitter were to add an endpoint
``/puppies/lookup.json``, the RateLimit object would create a resource
family ``puppies`` and add ``/puppies/lookup`` as the endpoint, along
with whatever limit, remaining hits available, and reset time would be
applicable to that resource+endpoint pair.
Args:
url (str):
URL of the endpoint being fetched.
limit (int):
Max number of times a user or app can hit the endpoint
before being rate limited.
remaining (int):
Number of times a user or app can access the endpoint
before being rate limited.
reset (int):
Epoch time at which the rate limit window will reset.'

def set_unknown_limit(self, url, limit, remaining, reset):

    endpoint = self.url_to_resource(url)
    resource_family = endpoint.split('/')[1]
    self.__dict__['resources'].update({resource_family: {endpoint: {'limit': limit, 'remaining': remaining, 'reset': reset}}})
