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

- old
+ new

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