Last active
June 26, 2017 14:58
-
-
Save infinite-Joy/d42f11915f0e9e2bdb24b20e791d32aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Banking(object): | |
""" Payment processor that does nothing, just logs """ | |
def __init__(self): | |
self._logger = logging.getLogger(__name__) | |
self._logger.setLevel(logging.INFO) | |
def process_payment(self, destination_address, amount): | |
""" Execute a payment to one receiving single address | |
return the transaction id or None """ | |
print("process payment for bank.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment