README.md in intercom-3.7.4 vs README.md in intercom-3.7.5
- old
+ new
@@ -20,20 +20,25 @@
gem install intercom
Using bundler:
- gem 'intercom', '~> 3.7.3'
+ gem 'intercom', '~> 3.7.4'
## Basic Usage
### Configure your client
-> If you already have a personal access token you can find it [here](https://app.intercom.io/developers/_/access-token). If you want to create or learn more about personal access tokens then you can find more info [here](https://developers.intercom.io/docs/personal-access-tokens).
+> If you already have a personal access token you can find it [here](https://app.intercom.io/a/apps/_/developer_hub/). If you want to create or learn more about personal access tokens then you can find more info [here](https://developers.intercom.io/docs/personal-access-tokens).
```ruby
# With an OAuth or Personal Access token:
intercom = Intercom::Client.new(token: 'my_token')
+```
+
+```ruby
+# With a versioned app:
+intercom = Intercom::Client.new(token: 'my_token', api_version: '1.0')
```
If you are building a third party application you can get your access_tokens by [setting-up-oauth](https://developers.intercom.io/page/setting-up-oauth) for Intercom.
You can also use the [omniauth-intercom lib](https://github.com/intercom/omniauth-intercom) which is a middleware helping you to handle the authentication process with Intercom.