Replaced mmg from number and firetext from number with single from number.

Fix merge mistake.

Fix tests from merge.

Update config to include correct staging and live names.
This commit is contained in:
Nicholas Staples
2016-06-06 09:49:51 +01:00
parent eae0c252a0
commit fe7d894420
8 changed files with 9 additions and 14 deletions

View File

@@ -60,7 +60,7 @@ class FiretextClient(SmsClient):
super(SmsClient, self).__init__(*args, **kwargs)
self.current_app = current_app
self.api_key = current_app.config.get('FIRETEXT_API_KEY')
self.from_number = current_app.config.get('FIRETEXT_NUMBER')
self.from_number = current_app.config.get('FROM_NUMBER')
self.name = 'firetext'
self.statsd_client = statsd_client

View File

@@ -60,7 +60,7 @@ class MMGClient(SmsClient):
super(SmsClient, self).__init__(*args, **kwargs)
self.current_app = current_app
self.api_key = current_app.config.get('MMG_API_KEY')
self.from_number = current_app.config.get('MMG_FROM_NUMBER')
self.from_number = current_app.config.get('FROM_NUMBER')
self.name = 'mmg'
self.statsd_client = statsd_client