docs/usage/errors.rst in twilio-ruby-3.12.1 vs docs/usage/errors.rst in twilio-ruby-3.12.2
- old
+ new
@@ -17,10 +17,10 @@
account_sid = "ACXXXXXXXXXXXXXXXXX"
auth_token = "YYYYYYYYYYYYYYYYYY"
begin
@client = Twilio::REST::Client.new account_sid, auth_token
- client.account.messages.create({
+ client.messages.create({
:from => '+1234567890',
:to => '+1234567890',
:body => 'Hello world'
})
rescue Twilio::REST::RequestError => e