lib/twilio-ruby/rest/sms/messages.rb in twilio-ruby-3.3.1 vs lib/twilio-ruby/rest/sms/messages.rb in twilio-ruby-3.4.0

- old
+ new

@@ -2,10 +2,10 @@ module REST class Messages < ListResource def initialize(uri, client) super # hard-code the json key since 'messages' doesn't exist in the response - @resource_name = 'sms_messages' + @list_key = 'sms_messages' end end class Message < InstanceResource; end end