lib/twilio-ruby/rest/api/v2010/account/balance.rb in twilio-ruby-6.9.1 vs lib/twilio-ruby/rest/api/v2010/account/balance.rb in twilio-ruby-6.11.0

- old
+ new

@@ -18,10 +18,11 @@ class Api < ApiBase class V2010 < Version class AccountContext < InstanceContext class BalanceList < ListResource + ## # Initialize the BalanceList # @param [Version] version Version that contains the resource # @return [BalanceList] BalanceList def initialize(version, account_sid: nil) @@ -34,9 +35,10 @@ ## # Fetch the BalanceInstance # @return [BalanceInstance] Fetched BalanceInstance def fetch + payload = @version.fetch('GET', @uri) BalanceInstance.new( @version, payload, account_sid: @solution[:account_sid],