Add balance command to leclercmobile

This commit is contained in:
Florent 2012-08-29 16:41:36 +02:00
commit 681b83e4b3
4 changed files with 20 additions and 1 deletions

View file

@ -96,3 +96,7 @@ class LeclercMobileBackend(BaseBackend, ICapBill):
with self.browser:
return self.browser.readurl(bill._url)
def get_balance(self, subscription):
with self.browser:
return self.browser.get_balance()