README.md in notifications-ruby-client-2.3.0 vs README.md in notifications-ruby-client-2.4.0
- old
+ new
@@ -31,13 +31,14 @@
sms = client.send_sms(
phone_number: number,
template_id: template_id,
personalisation: {
name: "name",
- year: "2016",
- }
- reference: "your_reference_string"
+ year: "2016",
+ },
+ reference: "your_reference_string",
+ sms_sender_id: sms_sender_id
) # => Notifications::Client::ResponseNotification
```
<details>
<summary>
@@ -134,11 +135,11 @@
template_id: template_id,
personalisation: {
name: "name",
year: "2016"
},
- reference: "your_reference_string"
+ reference: "your_reference_string",
email_reply_to_id: email_reply_to_id
) # => Notifications::Client::ResponseNotification
```
<details>
@@ -356,9 +357,14 @@
#### `reference`
An optional identifier you generate. The `reference` can be used as a unique reference for the notification. Because Notify does not require this reference to be unique you could also use this reference to identify a batch or group of notifications.
You can omit this argument if you do not require a reference for the notification.
+
+#### `sms_sender_id`
+Optional. Specifies the identifier of the sms sender to set for the notification. The identifiers are found in your service Settings, when you 'Manage' your 'Text message sender'.
+
+If you omit this argument your default sms sender will be set for the notification.
#### `personalisation`
If the template has placeholders you need to provide their values as a Hash, for example:
```ruby