initial sms provider cleanup

This commit is contained in:
Jim Moffet
2022-06-25 13:05:10 -07:00
parent b0f8a51f99
commit 2bcae20441
7 changed files with 26 additions and 16 deletions

View File

@@ -20,11 +20,14 @@ class AwsSnsClient(SmsClient):
self.current_app = current_app
self.statsd_client = statsd_client
self.long_code_regex = re.compile(r"^\+1\d{10}$")
@property
def name(self):
return 'sns'
def get_name(self):
return 'sns'
def send_sms(self, to, content, reference, sender=None, international=False):
matched = False