Skip to content

Commit 1a7ab5b

Browse files
authored
Bump intercom to 3.7.4 (#461)
1 parent d51cfaa commit 1a7ab5b

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,24 @@ This version of the gem is compatible with `Ruby 2.1` and above.
2222

2323
Using bundler:
2424

25-
gem 'intercom', '~> 3.7.3'
25+
gem 'intercom', '~> 3.7.4'
2626

2727
## Basic Usage
2828

2929
### Configure your client
3030

31-
> 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).
31+
> 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).
3232
3333
```ruby
3434
# With an OAuth or Personal Access token:
3535
intercom = Intercom::Client.new(token: 'my_token')
3636
```
3737

38+
```ruby
39+
# With a versioned app:
40+
intercom = Intercom::Client.new(token: 'my_token', api_version: '1.0')
41+
```
42+
3843
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.
3944
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.
4045

changes.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
3.7.4
2+
Added support for API versioning via
3+
Intercom::Client.new(token: "token", api_version "1.1")
4+
15
3.7.3
26
Added error handling for when an admin cannot be found.
37

lib/intercom/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Intercom #:nodoc:
2-
VERSION = "3.7.3"
2+
VERSION = "3.7.4"
33
end

0 commit comments

Comments
 (0)