mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -05:00
Made SMS messages go through celery
- twilio client pulled in from delivery app - made method to perform task
This commit is contained in:
17
app/clients/sms/__init__.py
Normal file
17
app/clients/sms/__init__.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from app.clients import (Client, ClientException)
|
||||
|
||||
|
||||
class SmsClientException(ClientException):
|
||||
'''
|
||||
Base Exception for SmsClients
|
||||
'''
|
||||
pass
|
||||
|
||||
|
||||
class SmsClient(Client):
|
||||
'''
|
||||
Base Sms client for sending smss.
|
||||
'''
|
||||
|
||||
def send_sms(self, *args, **kwargs):
|
||||
raise NotImplemented('TODO Need to implement.')
|
||||
Reference in New Issue
Block a user