class BitcasaInstance(): """ All the methods of this class are published as XML RPC methods """ def __init__(self, username, password): self.username = username self.password = password self.bitcasa = Bitcasa(self.username, self.password) def ping(self): return self.bitcasa.ping() def deadlock(self): pass
def __init__(self, username, password): self.username = username self.password = password self.bitcasa = Bitcasa(self.username, self.password)