Skip to content

Commit

Permalink
Bump intercom to 3.7.4 (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnyom authored Mar 1, 2019
1 parent d51cfaa commit 1a7ab5b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,24 @@ This version of the gem is compatible with `Ruby 2.1` and above.

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.

Expand Down
4 changes: 4 additions & 0 deletions changes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
3.7.4
Added support for API versioning via
Intercom::Client.new(token: "token", api_version "1.1")

3.7.3
Added error handling for when an admin cannot be found.

Expand Down
2 changes: 1 addition & 1 deletion lib/intercom/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Intercom #:nodoc:
VERSION = "3.7.3"
VERSION = "3.7.4"
end

0 comments on commit 1a7ab5b

Please sign in to comment.