lib/twilio-ruby/rest/api/v2010/account/balance.rb in twilio-ruby-7.1.1 vs lib/twilio-ruby/rest/api/v2010/account/balance.rb in twilio-ruby-7.2.0

- old
+ new

@@ -35,11 +35,12 @@ ## # Fetch the BalanceInstance # @return [BalanceInstance] Fetched BalanceInstance 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) BalanceInstance.new( @version, payload, account_sid: @solution[:account_sid], )