blob: f7d459dbcbc6d8af0fc0543508bd85d25872c8e1 [file] [log] [blame]
Sapan Bhatiadbaf1932013-09-03 11:28:52 -04001import os
2import base64
Scott Baker76a840e2015-02-11 21:38:09 -08003from xos.config import Config
Sapan Bhatiadbaf1932013-09-03 11:28:52 -04004
5class Deleter:
6 model=None # Must be overridden
7
Scott Baker6ecd4262014-01-21 23:15:21 -08008 def __init__(self, *args, **kwargs):
9 pass
10
11 def call(self, pk, model_dict):
Sapan Bhatiadbaf1932013-09-03 11:28:52 -040012 # Fetch object from PlanetStack db and delete it
13 pass
14
Scott Baker6ecd4262014-01-21 23:15:21 -080015 def __call__(self, *args, **kwargs):
16 return self.call(*args, **kwargs)