Users can set a value that appears as the sender of a text message.

It can be up to eleven characters alpha numeric, no special characters
allowed.
This commit is contained in:
Adam Shimali
2016-07-01 13:47:22 +01:00
parent facfb98bb3
commit 3bfcf0f8b3
8 changed files with 137 additions and 6 deletions

View File

@@ -62,7 +62,8 @@ class ServiceAPIClient(NotificationsAPIClient):
restricted,
users,
email_from,
reply_to_email_address=None):
reply_to_email_address=None,
sms_sender=None):
"""
Update a service.
"""
@@ -74,7 +75,8 @@ class ServiceAPIClient(NotificationsAPIClient):
"restricted": restricted,
"users": users,
"email_from": email_from,
"reply_to_email_address": reply_to_email_address
"reply_to_email_address": reply_to_email_address,
"sms_sender": sms_sender
}
_attach_current_user(data)
endpoint = "/service/{0}".format(service_id)