lib/twilio-ruby/rest/notifications/v1/service/notification.rb in twilio-ruby-5.0.0.rc8 vs lib/twilio-ruby/rest/notifications/v1/service/notification.rb in twilio-ruby-5.0.0.rc9
- old
+ new
@@ -38,14 +38,15 @@
# @param [String] sound The sound
# @param [String] action The action
# @param [String] data The data
# @param [String] apn The apn
# @param [String] gcm The gcm
+ # @param [String] sms The sms
# @param [String] facebook_messenger The facebook_messenger
# @return [NotificationInstance] Newly created NotificationInstance
- def create(identity: nil, tag: nil, body: nil, priority: nil, ttl: nil, title: nil, sound: nil, action: nil, data: nil, apn: nil, gcm: nil, facebook_messenger: nil)
+ def create(identity: nil, tag: nil, body: nil, priority: nil, ttl: nil, title: nil, sound: nil, action: nil, data: nil, apn: nil, gcm: nil, sms: nil, facebook_messenger: nil)
data = {
'Identity' => identity,
'Tag' => tag,
'Body' => body,
'Priority' => priority,
@@ -54,9 +55,10 @@
'Sound' => sound,
'Action' => action,
'Data' => data,
'Apn' => apn,
'Gcm' => gcm,
+ 'Sms' => sms,
'FacebookMessenger' => facebook_messenger,
}
payload = @version.create(
'POST',
\ No newline at end of file