Skip to content

Commit 5c0aef5

Browse files
committedOct 21, 2014
Merge pull request #122 from marckohlbrugge/patch-1
Fix typo
2 parents 0a0d9d5 + b4a1cdb commit 5c0aef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ user = payload.model
328328
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.
329329

330330
### Errors
331-
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 it's `http_code` method.
331+
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.
332332

333333
The list of different error subclasses are listed below. As they all inherit off Intercom::Error you can choose to rescue Intercom::Error or
334334
else rescue the more specific error subclass.

0 commit comments

Comments
 (0)