lib/twilio-ruby/rest/pricing/v2/voice/country.rb in twilio-ruby-6.9.1 vs lib/twilio-ruby/rest/pricing/v2/voice/country.rb in twilio-ruby-6.11.0

- old
+ new

@@ -18,10 +18,11 @@ class Pricing < PricingBase class V2 < Version class VoiceList < ListResource class CountryList < ListResource + ## # Initialize the CountryList # @param [Version] version Version that contains the resource # @return [CountryList] CountryList def initialize(version) @@ -143,9 +144,10 @@ ## # Fetch the CountryInstance # @return [CountryInstance] Fetched CountryInstance def fetch + payload = @version.fetch('GET', @uri) CountryInstance.new( @version, payload, iso_country: @solution[:iso_country],