Made SMS messages go through celery

- twilio client pulled in from delivery app
- made method to perform task
This commit is contained in:
Martyn Inglis
2016-02-15 16:01:14 +00:00
parent ffbe94f390
commit 223cb8c2dd
9 changed files with 145 additions and 31 deletions

View 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.')