lib/twilio-ruby/rest/sms/messages.rb in twilio-ruby-3.9.0 vs lib/twilio-ruby/rest/sms/messages.rb in twilio-ruby-3.10.0
- old
+ new
@@ -1,8 +1,8 @@
module Twilio
module REST
class Messages < ListResource
- def initialize(uri, client)
+ def initialize(path, client)
super
# hard-code the json key since 'messages' doesn't exist in the response
@list_key = 'sms_messages'
end
end