README.md in twilio-ruby-5.34.1 vs README.md in twilio-ruby-5.35.0

- old
+ new

@@ -30,17 +30,17 @@ ## Installation To install using [Bundler][bundler] grab the latest stable version: ```ruby -gem 'twilio-ruby', '~> 5.34.1' +gem 'twilio-ruby', '~> 5.35.0' ``` To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install: ```bash -gem install twilio-ruby -v 5.34.1 +gem install twilio-ruby -v 5.35.0 ``` To build and install the development branch yourself from the latest source: ```bash @@ -61,9 +61,24 @@ auth_token = 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy' # set up a client to talk to the Twilio REST API @client = Twilio::REST::Client.new account_sid, auth_token ``` + +### Specify a Region and/or Edge + +```ruby +# set up a client to talk to the Twilio REST API over a specific region and edge +@client = Twilio::REST::Client.new account_sid, auth_token, nil, 'au1' +@client.edge = 'sydney' + +# you may also specify the region and/or edge after client creation +@client = Twilio::REST::Client.new account_sid, auth_token +@client.region = 'au1' +@client.edge = 'sydney' +``` + +This will result in the `hostname` transforming from `api.twilio.com` to `api.sydney.au1.twilio.com`. ### Make a Call ```ruby @client.calls.create(