'Given a list of resources, retrieve the quotas for the given
quota class.
:param context: The request context, for access checks.
:param resources: A dictionary of the registered resources.
:param quota_class: The name of the quota class to return
quotas for.
:param defaults: If True, the default value will be reported
if there is no specific value for the
resource.'

def get_class_quotas(self, context, resources, quota_class, defaults=True):

    quotas = {}
    for resource in resources.values():
        quotas[resource.name] = (-1)
    return quotas
