posttrack/services/base.py

10 lines
324 B
Python

class PostalService:
@property
def regex(self):
return NotImplementedError("%s does not implement regex" % self.__class__)
def get_status(self, trackingcode):
return NotImplementedError("%s does not implement get_status()" % self.__class__)
def __init__(self, *args, **kwargs):
pass