def delete(self, url=''): raise OperationNotAllowed('delete', self.resource_class.__name__)
def list(self, url='', obj_class=None, body=None, **kwargs): raise OperationNotAllowed('list', self.resource_class.__name__)
def patch(self, url='', body=None): raise OperationNotAllowed('patch', self.resource_class.__name__)
def get(self, resource_id='', url='', obj_class=None, **kwargs): raise OperationNotAllowed('get', self.resource_class.__name__)