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