lib/twilio-ruby/rest/insights/v1/call/call_summary.rb in twilio-ruby-7.1.1 vs lib/twilio-ruby/rest/insights/v1/call/call_summary.rb in twilio-ruby-7.2.0
- old
+ new
@@ -66,11 +66,12 @@
)
params = Twilio::Values.of({
'ProcessingState' => processing_state,
})
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
- payload = @version.fetch('GET', @uri, params: params)
+ payload = @version.fetch('GET', @uri, params: params, headers: headers)
CallSummaryInstance.new(
@version,
payload,
call_sid: @solution[:call_sid],
)