intercom 3.7.6 → 3.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +1 -1
- data/README.md +9 -2
- data/changes.txt +3 -0
- data/intercom.gemspec +0 -1
- data/lib/intercom/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb52e11279caa2be1661a7fdfbc7abc1829d2d73
|
4
|
+
data.tar.gz: '092c4c0c51aac933d960596327577905c93590aa'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 071616a6160830c039e7980e0a35689ff4be1035bb4dbc9bdb492bfc8ce4d6862e0f8357c50cb1fc3951428387931689023878f7099555346694f8bdd4c024d9
|
7
|
+
data.tar.gz: 878a9f3fc2780fb76079ef2af88ef86262ff673cef19b21e4507ee508f82dd3f589cc83c69ff8426f0cfe66d7c679346b429f8936812b31588e3d136723a6922
|
data/.circleci/config.yml
CHANGED
data/README.md
CHANGED
@@ -22,13 +22,13 @@ This version of the gem is compatible with `Ruby 2.1` and above.
|
|
22
22
|
|
23
23
|
Using bundler:
|
24
24
|
|
25
|
-
gem 'intercom', '~> 3.7.
|
25
|
+
gem 'intercom', '~> 3.7.6'
|
26
26
|
|
27
27
|
## Basic Usage
|
28
28
|
|
29
29
|
### Configure your client
|
30
30
|
|
31
|
-
> If you already have a personal access token you can find it [here](https://app.intercom.io/a/apps/_/
|
31
|
+
> 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).
|
32
32
|
|
33
33
|
```ruby
|
34
34
|
# With an OAuth or Personal Access token:
|
@@ -360,6 +360,13 @@ intercom.events.create(
|
|
360
360
|
}
|
361
361
|
)
|
362
362
|
|
363
|
+
# Alternatively, use "user_id" in case your app allows multiple accounts having the same email
|
364
|
+
intercom.events.create(
|
365
|
+
event_name: "invited-friend",
|
366
|
+
created_at: Time.now.to_i,
|
367
|
+
user_id: user.uuid,
|
368
|
+
)
|
369
|
+
|
363
370
|
# Retrieve event list for user with id:'123abc'
|
364
371
|
intercom.events.find_all("type" => "user", "intercom_user_id" => "123abc")
|
365
372
|
|
data/changes.txt
CHANGED
data/intercom.gemspec
CHANGED
@@ -12,7 +12,6 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = %q{Ruby bindings for the Intercom API}
|
13
13
|
spec.description = %Q{Intercom (https://www.intercom.io) is a customer relationship management and messaging tool for web app owners. This library wraps the api provided by Intercom. See http://docs.intercom.io/api for more details. }
|
14
14
|
spec.license = "MIT"
|
15
|
-
spec.rubyforge_project = "intercom"
|
16
15
|
|
17
16
|
spec.files = `git ls-files`.split("\n")
|
18
17
|
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
data/lib/intercom/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: intercom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.7.
|
4
|
+
version: 3.7.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben McRedmond
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date: 2019-
|
18
|
+
date: 2019-07-15 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: minitest
|
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
229
229
|
- !ruby/object:Gem::Version
|
230
230
|
version: '0'
|
231
231
|
requirements: []
|
232
|
-
rubyforge_project:
|
232
|
+
rubyforge_project:
|
233
233
|
rubygems_version: 2.6.14
|
234
234
|
signing_key:
|
235
235
|
specification_version: 4
|