File tree Expand file tree Collapse file tree 3 files changed +18
-5
lines changed
Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ This version of the gem is compatible with `Ruby 2.1` and above.
2222
2323Using bundler:
2424
25- gem 'intercom', '~> 3.6.2 '
25+ gem 'intercom', '~> 3.7.0 '
2626
2727## Basic Usage
2828
@@ -69,9 +69,10 @@ user = intercom.users.find(id: "1")
6969# Create a user
7070user
= intercom.users.create(
email: " [email protected] " ,
name: " Bob Smith" ,
signed_up_at: Time .now.to_i)
7171# archive a user
72- user = intercom.users.find(id: " 1" ) user = intercom.users.find(id: " 1" )
73- deleted_user = intercom.users.delete(user) archived_user = intercom.users.archive(user)
74- # request a hard delete for a user(https://developers.intercom.com/intercom-api-reference/reference#delete-users)
72+ user = intercom.users.find(id: " 1" )
73+ archived_user = intercom.users.archive(user)
74+ # request a hard delete for a user
75+ (https: // developers.intercom.com/ intercom- api- reference/ reference# delete-users)
7576user = intercom.users.find(id: " 1" )
7677deleted_user = intercom.users.request_hard_delete(user)
7778# Update custom_attributes for a user
Original file line number Diff line number Diff line change 1+ 3.7.0
2+ Providing the ability to hard delete users as described here:
3+ https://developers.intercom.com/intercom-api-reference/reference#archive-a-user
4+
5+ This chaged the previous delete action to an archive action and added a new hard delete option
6+ You can still use the delete method but it will archive a user, we added an alias for delete.
7+ #442 archiving alias
8+ #410 add ability to hard delete users
9+
10+ Alos enabling reply to last from the SDK
11+ #443 Residently conversations last reply
12+
1133.6.2
214#384 Add ability to snooze conversation
315You can now snooze conversations in your app via:
Original file line number Diff line number Diff line change 11module Intercom #:nodoc:
2- VERSION = "3.6.2 "
2+ VERSION = "3.7.0 "
33end
You can’t perform that action at this time.
0 commit comments