Skip to content

Releases: intercom/intercom-ruby

Added error handling for CDA limit reached

15 Jan 11:46
20dcfc5
Compare
Choose a tag to compare

CDA limit errors can now be rescued from and identified easily.

#453

Adding hard delete option

16 Nov 13:55
c749686
Compare
Choose a tag to compare

Providing the ability to hard delete users as described here:
https://developers.intercom.com/intercom-api-reference/reference#archive-a-user

This chaged the previous delete action to an archive action and added a new hard delete option
You can still use the delete method but it will archive a user, we added an alias for delete.
#442 archiving alias
#410 add ability to hard delete users

Alos enabling reply to last from the SDK
#443 Residently conversations last reply

Add snooze feature for conversations

05 Oct 09:55
ad5e0ce
Compare
Choose a tag to compare

You can now snooze a conversation via

Snooze

intercom.conversations.snooze(id: conversation.id, admin_id: '123', snoozed_until: 9999999999)

Allow all conversations to be listed #430

03 Oct 09:37
8040bfd
Compare
Choose a tag to compare

It is now possible to list all conversation for your app

Iterate over all conversations for your app

intercom.conversations.all.each { |convo| ... }

Breaking change: Find companies

02 Oct 16:43
400c6fc
Compare
Choose a tag to compare

BREAKING CHANGE companies

We updated companies to be able to list users via company_id as well as id (#428 )
Note that this is a breaking change as we had to remove the old way of listing users via company.

Previously it was:

intercom.companies.users(company.id)

Now you get a list of users in a company by Intercom Company ID

intercom.companies.users_by_intercom_company_id(company.id)

Now you get a list of users in a company by external company_id

intercom.companies.users_by_company_id(company.company_id)

Rate limit handling

We also improved the way we handle rate limits in PR #409 which was related to issue #405

Adding network timeout customisation capabilities

10 Sep 11:23
Compare
Choose a tag to compare
  • Network timeouts can now be customised, with defaults to 90 and 30
    #412

Fix for rate limit out of range error

11 May 08:56
Compare
Choose a tag to compare

update error handling for suspended apps

10 May 09:32
Compare
Choose a tag to compare

Add ResourceNotUniqueError

04 Dec 17:16
Compare
Choose a tag to compare

Related #372:

  • New type of error (ResourceNotUniqueError). Thrown when trying to create a resource that already exists in Intercom

Return object type

08 Nov 13:29
Compare
Choose a tag to compare

Return object type in API response objects, e.g.

> conversation = intercom.conversations.find(:id => '6724844006')
> conversation.conversation_message.author.type
"user"