def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def __init__(self, api, name):
        super(V1Routing, self).__init__(api, name,
                                        description='Current version of navitia API',
                                        status='current',
                                        index_endpoint='index')