[storage] Added add_transaction abstract method

This commit is contained in:
Joar Wandborg 2013-12-17 14:11:29 +01:00
parent 873cff4229
commit 751341c267

View file

@ -26,6 +26,10 @@ class Storage():
def get_accounts(self, *args, **kw): def get_accounts(self, *args, **kw):
raise NotImplementedError raise NotImplementedError
@abstractmethod
def add_transaction(self, transaction):
raise NotImplementedError
@abstractmethod @abstractmethod
def update_transaction(self, transaction): def update_transaction(self, transaction):
raise NotImplementedError raise NotImplementedError