lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb in twilio-ruby-5.4.3 vs lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb in twilio-ruby-5.4.4
- old
+ new
@@ -270,11 +270,11 @@
'RedirectUrl' => redirect_url,
'To' => to,
'From' => from,
'StatusCallback' => status_callback,
'StatusCallbackMethod' => status_callback_method,
- 'StatusCallbackEvent' => status_callback_event,
+ 'StatusCallbackEvent' => Twilio.serialize_list(status_callback_event) { |e| e },
'Timeout' => timeout,
'Record' => record,
'Muted' => muted,
'Beep' => beep,
'StartConferenceOnEnter' => start_conference_on_enter,
@@ -283,21 +283,21 @@
'WaitMethod' => wait_method,
'EarlyMedia' => early_media,
'MaxParticipants' => max_participants,
'ConferenceStatusCallback' => conference_status_callback,
'ConferenceStatusCallbackMethod' => conference_status_callback_method,
- 'ConferenceStatusCallbackEvent' => conference_status_callback_event,
+ 'ConferenceStatusCallbackEvent' => Twilio.serialize_list(conference_status_callback_event) { |e| e },
'ConferenceRecord' => conference_record,
'ConferenceTrim' => conference_trim,
'RecordingChannels' => recording_channels,
'RecordingStatusCallback' => recording_status_callback,
'RecordingStatusCallbackMethod' => recording_status_callback_method,
'ConferenceRecordingStatusCallback' => conference_recording_status_callback,
'ConferenceRecordingStatusCallbackMethod' => conference_recording_status_callback_method,
'Region' => region,
'SipAuthUsername' => sip_auth_username,
'SipAuthPassword' => sip_auth_password,
- 'DequeueStatusCallbackEvent' => dequeue_status_callback_event,
+ 'DequeueStatusCallbackEvent' => Twilio.serialize_list(dequeue_status_callback_event) { |e| e },
'PostWorkActivitySid' => post_work_activity_sid,
})
payload = @version.update(
'POST',
\ No newline at end of file