Exemple #1
0
 def delete(self, url=''):
     raise OperationNotAllowed('delete', self.resource_class.__name__)
Exemple #2
0
 def list(self, url='', obj_class=None, body=None, **kwargs):
     raise OperationNotAllowed('list', self.resource_class.__name__)
Exemple #3
0
 def patch(self, url='', body=None):
     raise OperationNotAllowed('patch', self.resource_class.__name__)
Exemple #4
0
 def get(self, resource_id='', url='', obj_class=None, **kwargs):
     raise OperationNotAllowed('get', self.resource_class.__name__)