Files
notifications-api/app/clients/sms/__init__.py
2022-06-17 11:16:23 -07:00

25 lines
567 B
Python

from app.clients import Client, ClientException
class SmsClientResponseException(ClientException):
"""
Base Exception for SmsClientsResponses
"""
def __init__(self, message):
self.message = message
def __str__(self):
return "Message {}".format(self.message)
class SmsClient(Client):
"""
Base Sms client for sending smss.
"""
def send_sms(self, *args, **kwargs):
raise NotImplementedError("TODO Need to implement.")
def get_name(self):
raise NotImplementedError("TODO Need to implement.")