README.md in twilio-ruby-3.12.2 vs README.md in twilio-ruby-3.12.3
- old
+ new
@@ -40,9 +40,18 @@
account_sid = 'ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
auth_token = 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'
# set up a client to talk to the Twilio REST API
@client = Twilio::REST::Client.new account_sid, auth_token
+
+# alternatively, you can preconfigure the client like so
+Twilio.configure do |config|
+ config.account_sid = account_sid
+ config.auth_token = auth_token
+end
+
+# and then you can create a new client without parameters
+@client = Twilio::REST::Client.new
```
### Send an SMS
``` ruby