def object(self, *kargs, **kwargs):
        kwargs['api'] = self.api
        return Object(*kargs, **kwargs)
Registers a class based router to this API
dataset/ETHPy150Open timothycrosley/hug/hug/route.py/API.object