README.md in twilio-ruby-5.46.0 vs README.md in twilio-ruby-5.46.1

- old
+ new

@@ -32,17 +32,17 @@ ## Installation To install using [Bundler][bundler] grab the latest stable version: ```ruby -gem 'twilio-ruby', '~> 5.46.0' +gem 'twilio-ruby', '~> 5.46.1' ``` To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install: ```bash -gem install twilio-ruby -v 5.46.0 +gem install twilio-ruby -v 5.46.1 ``` To build and install the development branch yourself from the latest source: ```bash @@ -62,9 +62,23 @@ 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 +``` + +### Use An API Key + +```ruby +require 'twilio-ruby' + +# put your own credentials here +account_sid = 'ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' +api_key_sid = 'zzzzzzzzzzzzzzzzzzzzzz' +api_key_secret = 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy' + +# set up a client to talk to the Twilio REST API using an API Key +@client = Twilio::REST::Client.new api_key_sid, api_key_secret, account_sid ``` ### Specify a Region and/or Edge To take advantage of Twilio's [Global Infrastructure](https://www.twilio.com/docs/global-infrastructure), specify the target Region and/or Edge for the client: