lib/twilio-ruby/rest/messaging/v1/deactivations.rb in twilio-ruby-6.9.1 vs lib/twilio-ruby/rest/messaging/v1/deactivations.rb in twilio-ruby-6.11.0

- old
+ new

@@ -16,10 +16,11 @@ module Twilio module REST class Messaging < MessagingBase class V1 < Version class DeactivationsList < ListResource + ## # Initialize the DeactivationsList # @param [Version] version Version that contains the resource # @return [DeactivationsList] DeactivationsList def initialize(version) @@ -62,9 +63,10 @@ ) params = Twilio::Values.of({ 'Date' => Twilio.serialize_iso8601_date(date), }) + payload = @version.fetch('GET', @uri, params: params) DeactivationsInstance.new( @version, payload, )