lib/twilio-ruby/rest/intelligence/v2/prebuilt_operator.rb in twilio-ruby-7.1.1 vs lib/twilio-ruby/rest/intelligence/v2/prebuilt_operator.rb in twilio-ruby-7.2.0

- old
+ new

@@ -154,11 +154,12 @@ ## # Fetch the PrebuiltOperatorInstance # @return [PrebuiltOperatorInstance] Fetched PrebuiltOperatorInstance def fetch + headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', }) - payload = @version.fetch('GET', @uri) + payload = @version.fetch('GET', @uri, headers: headers) PrebuiltOperatorInstance.new( @version, payload, sid: @solution[:sid], )