lib/twilio-ruby/rest/pricing/v2/number.rb in twilio-ruby-7.1.1 vs lib/twilio-ruby/rest/pricing/v2/number.rb in twilio-ruby-7.2.0
- old
+ new
@@ -64,11 +64,12 @@
)
params = Twilio::Values.of({
'OriginationNumber' => origination_number,
})
+ 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)
NumberInstance.new(
@version,
payload,
destination_number: @solution[:destination_number],
)