README.md in intercom-2.4.2 vs README.md in intercom-2.4.3
- old
+ new
@@ -17,21 +17,23 @@
gem install intercom
Using bundler:
- gem 'intercom', "~> 2.4.2"
+ gem 'intercom', "~> 2.4.3"
## Basic Usage
### Configure your access credentials
```ruby
Intercom.app_id = "my_app_id"
Intercom.app_api_key = "my-super-crazy-api-key"
```
+You can get your `app_id` from the URL when you're logged into Intercom (it's the alphanumeric just after `/apps/`) and your API key from the API keys settings page (under your app settings in Intercom).
+
### Resources
Resources this API supports:
https://api.intercom.io/users
@@ -328,10 +330,10 @@
Note that models generated from webhook notifications might differ slightly from models directly acquired via the API. If this presents a problem, calling `payload.load` will load the model from the API using the `id` field.
### Errors
You do not need to deal with the HTTP response from an API call directly. If there is an unsuccessful response then an error that is a subclass of Intercom:Error will be raised. If desired, you can get at the http_code of an Intercom::Error via its `http_code` method.
-The list of different error subclasses are listed below. As they all inherit off Intercom::Error you can choose to rescue Intercom::Error or
+The list of different error subclasses are listed below. As they all inherit off Intercom::IntercomError you can choose to rescue Intercom::IntercomError or
else rescue the more specific error subclass.
```ruby
Intercom::AuthenticationError
Intercom::ServerError