lib/twilio-ruby/rest/proxy/v1/service/session.rb in twilio-ruby-5.4.3 vs lib/twilio-ruby/rest/proxy/v1/service/session.rb in twilio-ruby-5.4.4
- old
+ new
@@ -141,11 +141,11 @@
data = Twilio::Values.of({
'UniqueName' => unique_name,
'DateExpiry' => Twilio.serialize_iso8601_datetime(date_expiry),
'Ttl' => ttl,
'Status' => status,
- 'Participants' => participants,
+ 'Participants' => Twilio.serialize_list(participants) { |e| e },
})
payload = @version.create(
'POST',
@uri,
@@ -252,10 +252,10 @@
data = Twilio::Values.of({
'UniqueName' => unique_name,
'DateExpiry' => Twilio.serialize_iso8601_datetime(date_expiry),
'Ttl' => ttl,
'Status' => status,
- 'Participants' => participants,
+ 'Participants' => Twilio.serialize_list(participants) { |e| e },
})
payload = @version.update(
'POST',
@uri,
\ No newline at end of file