コード例 #1
0
ファイル: api.py プロジェクト: shashanks/most-voip
 def __init__(self, backend=None):
     """
     Create a new instance of the VoipLib
     
     :param backend: (optional) if specified, it is used as the default VoipLib implementation
     
     """
     if backend==None:
         from api_backend import VoipBackend
         self.backend = VoipBackend()
     else:
         self.backend = backend()