bg-common 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bg/common/analytics.rb +1 -1
- data/lib/bg/common/analytics/intercom/client.rb +2 -2
- data/lib/bg/common/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e883f346c3f8661fc5f2c269ef693266c40eb99d
|
4
|
+
data.tar.gz: 5558811d182ab1b697a35d6a6f3d0766e5b9d5ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc0876b3c344f6d8381b2e9d501b41cb5d725a63dffe1d1c7b5b394139bcffea4141bce1804fbafa4bf4df63ddec3876cb8c03ddb5d713a32be5e569f4fe95ec
|
7
|
+
data.tar.gz: 01203b4d6242e815e52c02229e114ddefa7a62c6e791061cb4f713e7f604faa3600be1514eaa5c3723d80154aa66bb2cb866ba9abc5a0a78e8841e1c4836ec9f
|
data/lib/bg/common/analytics.rb
CHANGED
@@ -4,11 +4,11 @@ module BG
|
|
4
4
|
module Intercom
|
5
5
|
class Client
|
6
6
|
def initialize
|
7
|
-
@intercom = ::Intercom::Client.new
|
7
|
+
@intercom = ::Intercom::Client.new token: ENV['INTERCOM_ACCESS_TOKEN']
|
8
8
|
end
|
9
9
|
|
10
10
|
def intercom
|
11
|
-
@intercom ||= ::Intercom::Client.new
|
11
|
+
@intercom ||= ::Intercom::Client.new token: ENV['INTERCOM_ACCESS_TOKEN']
|
12
12
|
end
|
13
13
|
|
14
14
|
def call data
|
data/lib/bg/common/version.rb
CHANGED