voipms-python/voipms/api/accounts/__init__.py

12 lines
281 B
Python
Raw Normal View History

2019-08-18 02:02:44 +00:00
from voipms.api.accounts.balance import Balance
class Accounts():
def __init__(self, base):
self._balance = None
self.base = base
@property
def balance(self):
if self._balance is None:
self._balance = Balance(self.base)
return self._balance