intercom 0.2.3 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c0d6c8326096a6c9c6efb0231d756017a8dd4513
4
- data.tar.gz: a371fd962512479b284f0f8f36bd764232e478a0
3
+ metadata.gz: 7c945b07a2d4c71f9758767c91ac058eb5d6f705
4
+ data.tar.gz: f8fbc4356403c5127c6471ee5bd34c614ec84067
5
5
  SHA512:
6
- metadata.gz: d733b2bbbdd8b738380e46036147bde2a533b3cfce4ed51869da3edf600e34501bf363e91b2f00435a1930ce7e9e1d91bbced247b3e7c43ae44727a1869a13d8
7
- data.tar.gz: 04a7c4b8f7b167fe706aa612a2ab52f5c8b567c662599ca1427b6f953af75d3f01a865eff0f7a5fc2c8217e84437f72cf007c97698a7e6ce07e8e052008f1880
6
+ metadata.gz: 95deaf74b8615099307b88ec9e55f2db64e1ea7eafdd8479da8d73e96fab2af482c75cd7ab9b675d8f765ffef8ec847deced873f22ab86931713bfc54f000841
7
+ data.tar.gz: 32fd07e552d1a6dfd9c098ffc6aede6d1a9b89c1e00bcc11df8c6df25ca0428f6ccd6d2a263079ff6e33ce825f098164972f852a385b763b78e1cbb4acb6b845
data/README.md CHANGED
@@ -42,7 +42,7 @@ The API supports:
42
42
  user = Intercom::User.find_by_email("bob@example.com")
43
43
  user.custom_data["average_monthly_spend"] = 1234.56
44
44
  user.save
45
- user = Intercom::User.find_by_user_id("bob@example.com")
45
+ user = Intercom::User.find_by_user_id("1")
46
46
  user = Intercom::User.create(:email => "bob@example.com", :name => "Bob Smith")
47
47
  user = Intercom::User.new(params)
48
48
  user.save
@@ -82,6 +82,54 @@ Intercom::Impression.create(:email => "bob@example.com", :location => "/path/in/
82
82
  Intercom::Note.create(:email => "bob@example.com", :body => "This is the text of the note")
83
83
  ```
84
84
 
85
+ #### Events
86
+ The simplest way to create an event is directly on the user
87
+ ```ruby
88
+ user = Intercom::User.find_by_email("bob@example.com")
89
+ user.track_event("invited-friend")
90
+ ```
91
+
92
+ For more control create events through Intercom::Event
93
+ ```ruby
94
+ Intercom::Event.create(:event_name => "invited-friend", :user => user)
95
+
96
+ # With an explicit event creation date
97
+ Intercom::Event.create(:event_name => "invited-friend", :user => user, :created_at => 1391691571)
98
+
99
+ # With metadata
100
+ Intercom::Event.create(:event_name => "invited-friend", :user => user,
101
+ metadata => {
102
+ :invitee_email => 'pi@example.org',
103
+ :invite_code => 'ADDAFRIEND'
104
+ }
105
+ )
106
+ ```
107
+
108
+ Metadata Objects support a few simple types that Intercom can present on your behalf
109
+
110
+ ```ruby
111
+ Intercom::Event.create(:event_name => "placed-order", :user => current_user,
112
+ metadata => {
113
+ :order_date => Time.now.to_i,
114
+ :stripe_invoice => 'inv_3434343434',
115
+ :order_number => {
116
+ :value => '3434-3434',
117
+ :url => 'https://example.org/orders/3434-3434'
118
+ },
119
+ price: {
120
+ :currency => 'usd',
121
+ :amount => 2999
122
+ }
123
+ }
124
+ )
125
+ ```
126
+
127
+ The metadata key values in the example are treated as follows-
128
+ - order_date: a Date (key ends with '_date').
129
+ - stripe_invoice: The identifier of the Stripe invoice (has a 'stripe_invoice' key)
130
+ - order_number: a Rich Link (value contains 'url' and 'value' keys)
131
+ - price: An Amount in US Dollars (value contains 'amount' and 'currency' keys)
132
+
85
133
  ### Errors
86
134
  ```ruby
87
135
  Intercom::AuthenticationError
data/changes.txt CHANGED
@@ -1,3 +1,6 @@
1
+ 0.3.0
2
+ - Renamed UserEvents to Events
3
+
1
4
  0.2.0
2
5
  - Add UserEvents.
3
6
 
data/intercom.gemspec CHANGED
@@ -6,8 +6,8 @@ require "intercom/version"
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "intercom"
8
8
  spec.version = Intercom::VERSION
9
- spec.authors = ["Ben McRedmond", "Ciaran Lee", "Darragh Curran", "Jeff Gardner", "Kyle Daigle"]
10
- spec.email = ["ben@intercom.io", "ciaran@intercom.io", "darragh@intercom.io", "jeff@intercom.io", "kyle@digitalworkbox.com"]
9
+ spec.authors = ["Ben McRedmond", "Ciaran Lee", "Darragh Curran", "Jeff Gardner", "Kyle Daigle", "Declan McGrath", "Jamie Osler"]
10
+ spec.email = ["ben@intercom.io", "ciaran@intercom.io", "darragh@intercom.io", "jeff@intercom.io", "kyle@digitalworkbox.com", "declan@intercom.io", "jamie@intercom.io"]
11
11
  spec.homepage = "https://www.intercom.io"
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. }
data/lib/intercom.rb CHANGED
@@ -6,7 +6,7 @@ require "intercom/impression"
6
6
  require "intercom/note"
7
7
  require "intercom/tag"
8
8
  require "intercom/request"
9
- require "intercom/user_event"
9
+ require "intercom/event"
10
10
  require "json"
11
11
 
12
12
  ##
@@ -5,46 +5,46 @@ require 'intercom/hashable_object'
5
5
  module Intercom
6
6
 
7
7
  ##
8
- # Represents a User Event
8
+ # Represents an Event
9
9
  #
10
- # A user event consists of an event_name and a user the event applies to. The user is identified via email or id.
10
+ # An event consists of an event_name and a user the event applies to. The user is identified via email or id.
11
11
  # Additionally, a created timestamp is required.
12
12
  #
13
13
  # == Examples
14
14
  #
15
- # user_event = Intercom::UserEvent.create(:event_name => "post", :user => current_user, :created_at => Time.now)
15
+ # event = Intercom::Event.create(:event_name => "post", :user => current_user, :created_at => Time.now)
16
16
  #
17
17
  # You can also create an user-event and save it like this:
18
- # user_event = Intercom::UserEvent.new
19
- # user_event.event_name = "publish-post"
20
- # user_event.user = current_user
21
- # user_event.created_at = Time.now
22
- # user_event.metadata = {
18
+ # event = Intercom::Event.new
19
+ # event.event_name = "publish-post"
20
+ # event.user = current_user
21
+ # event.created_at = Time.now
22
+ # event.metadata = {
23
23
  # :title => 'Gravity Review',
24
24
  # :link => 'https://example.org/posts/22',
25
25
  # :comments => 'https://example.org/posts/22/comments'
26
26
  # }
27
- # user_event.save
27
+ # event.save
28
28
  #
29
29
  # == Batch
30
30
  #
31
- # User events can be created in batches, and sent as one request. To do some, create user events
31
+ # Events can be created in batches, and sent as one request. To do some, create events
32
32
  # without calling .create, as follows:
33
33
  #
34
- # user_event = Intercom::UserEvent.new
35
- # user_event.event_name = "publish-post"
36
- # user_event.user = current_user
34
+ # event = Intercom::Event.new
35
+ # event.event_name = "publish-post"
36
+ # event.user = current_user
37
37
  #
38
38
  # Then pass them to the save_batch_events class method, along with an (optional) default user:
39
39
  #
40
- # Intercom::UserEvent.save_batch_events(events, default_user)
40
+ # Intercom::Event.save_batch_events(events, default_user)
41
41
  #
42
42
  # Any events without a user will be assigned to the default_user.
43
43
  #
44
44
  # Note: if you do not supply a created time, the current time in UTC will be used. Events that have the same
45
45
  # user, name, and created time (to second granularity) may be treated as duplicates by the server.
46
46
 
47
- class UserEvent
47
+ class Event
48
48
  extend RequiresParameters
49
49
  include HashableObject
50
50
 
@@ -56,24 +56,24 @@ module Intercom
56
56
  end
57
57
 
58
58
  ##
59
- # Creates a new User Event using params and saves it
59
+ # Creates a new Event using params and saves it
60
60
  # @see #save
61
61
  def self.create(params)
62
62
  params[:created_at] ||= Time.now
63
63
  requires_parameters(params, %W(event_name user created_at))
64
- UserEvent.new(params).save
64
+ Event.new(params).save
65
65
  end
66
66
 
67
67
  ##
68
- # Save the User Event
68
+ # Save the Event
69
69
  def save
70
70
  raise ArgumentError.new("Missing User") if user.nil?
71
- UserEvent.save_batch_events([self])
71
+ Event.save_batch_events([self])
72
72
  self
73
73
  end
74
74
 
75
75
  ##
76
- # Save a list of User Events, with an optional base_user
76
+ # Save a list of Events, with an optional base_user
77
77
  def self.save_batch_events(events, base_user=nil)
78
78
  hash = { :type => 'event.list', :data => []}
79
79
  hash[:user] = user_hash(base_user) if base_user
@@ -92,7 +92,7 @@ module Intercom
92
92
  end
93
93
 
94
94
  def user_hash
95
- UserEvent.user_hash(user)
95
+ Event.user_hash(user)
96
96
  end
97
97
 
98
98
  def event_hash
data/lib/intercom/user.rb CHANGED
@@ -337,13 +337,13 @@ module Intercom
337
337
  end
338
338
 
339
339
  ##
340
- # Creates a UserEvent for the given User
340
+ # Creates an Event for the given User
341
341
  # @param {Hash} options, keys for :created_at (Unix timestamp) and metadata
342
- def log_event(event_name, options={})
342
+ def track_event(event_name, options={})
343
343
  attributes = {:event_name => event_name, :user => self}
344
344
  attributes[:created_at] = options[:created_at] unless options[:created_at].nil?
345
345
  attributes[:metadata] = options[:metadata] unless options[:metadata].nil?
346
- UserEvent.create(attributes)
346
+ Event.create(attributes)
347
347
  end
348
348
 
349
349
  protected
@@ -1,3 +1,3 @@
1
1
  module Intercom #:nodoc:
2
- VERSION = "0.2.3"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -76,35 +76,35 @@ describe "api.intercom.io dummy data requests" do
76
76
  note.user.email.must_equal "somebody@example.com"
77
77
  end
78
78
 
79
- it "should create a user event" do
79
+ it "should create an event" do
80
80
  FakeWeb.register_uri(:get, %r(v1/users\?email=), :body => fixture('v1-user'))
81
81
  user = Intercom::User.find(:email => "somebody@example.com")
82
82
  FakeWeb.register_uri(:post, %r(/events), :status => ["202", "Created"])
83
- Intercom::UserEvent.create(:event_name => "signup", :created_at => 1391691571, :user => user).event_name.must_equal "signup"
83
+ Intercom::Event.create(:event_name => "signup", :created_at => 1391691571, :user => user).event_name.must_equal "signup"
84
84
  end
85
85
 
86
- it "should create batch user events" do
86
+ it "should create batch events" do
87
87
  FakeWeb.register_uri(:get, %r(v1/users\?email=), :body => fixture('v1-user'))
88
88
  user = Intercom::User.find(:email => "somebody@example.com")
89
89
 
90
- first_event = Intercom::UserEvent.new
90
+ first_event = Intercom::Event.new
91
91
  first_event.event_name = "first event"
92
92
  first_event.created_at = Time.now
93
93
  first_event.user = user
94
94
 
95
- second_event = Intercom::UserEvent.new
95
+ second_event = Intercom::Event.new
96
96
  second_event.event_name = "second event"
97
97
  second_event.created_at = Time.now
98
98
 
99
99
  FakeWeb.register_uri(:post, %r(/events), :status => ["202", "Created"])
100
- Intercom::UserEvent.save_batch_events([first_event, second_event], user)
100
+ Intercom::Event.save_batch_events([first_event, second_event], user)
101
101
  end
102
102
 
103
- it "should create a user event from a user" do
103
+ it "should create an event from a user" do
104
104
  FakeWeb.register_uri(:get, %r(v1/users\?email=), :body => fixture('v1-user'))
105
105
  user = Intercom::User.find(:email => "somebody@example.com")
106
106
  FakeWeb.register_uri(:post, %r(/events), :status => ["202", "Created"])
107
- user.log_event("signup").event_name.must_equal "signup"
107
+ user.track_event("signup").event_name.must_equal "signup"
108
108
  end
109
109
 
110
110
  it "should failover to good endpoint when first one is un-reachable" do
@@ -131,4 +131,4 @@ describe "api.intercom.io dummy data requests" do
131
131
  proc { Intercom::User.find(:email => "somebody@example.com")}.must_raise Intercom::BadGatewayError
132
132
 
133
133
  end
134
- end
134
+ end
@@ -1,18 +1,18 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe "Intercom::UserEvent" do
3
+ describe "Intercom::Event" do
4
4
 
5
5
  let (:user) {Intercom::User.new("email" => "jim@example.com", :user_id => "12345", :created_at => Time.now, :name => "Jim Bob")}
6
6
  let (:created_time) {Time.now - 300}
7
7
 
8
- it "creates a user event" do
8
+ it "creates an event" do
9
9
  Intercom.expects(:post).with("/events",
10
10
  { :type => 'event.list',
11
11
  :data => [ {:event_name => "signup", :created => created_time.to_i, :type => 'event',
12
12
  :user => { :user_id => user.user_id},
13
13
  }]}).returns(:status => 200)
14
14
 
15
- Intercom::UserEvent.create({ :event_name => "signup", :user => user, :created_at => created_time })
15
+ Intercom::Event.create({ :event_name => "signup", :user => user, :created_at => created_time })
16
16
  end
17
17
 
18
18
  it 'automatically adds a created time upon creation' do
@@ -21,22 +21,22 @@ describe "Intercom::UserEvent" do
21
21
  :data => [ {:event_name => "sale of item", :created => Time.now.to_i, :type => 'event', :user => { :user_id => user.user_id}
22
22
  }]}).returns(:status => 200)
23
23
 
24
- Intercom::UserEvent.create({ :event_name => "sale of item", :user => user })
24
+ Intercom::Event.create({ :event_name => "sale of item", :user => user })
25
25
  end
26
26
 
27
- it "creates a user event with metadata" do
27
+ it "creates an event with metadata" do
28
28
  Intercom.expects(:post).with("/events",
29
29
  { :type => 'event.list',
30
30
  :data => [ {:event_name => "signup", :created => created_time.to_i, :type => 'event', :user => { :user_id => user.user_id}, :metadata => { :something => "here"}
31
31
  }]}).returns(:status => 200)
32
- Intercom::UserEvent.create({ :event_name => "signup", :user => user, :created_at => created_time, :metadata => { :something => "here"} })
32
+ Intercom::Event.create({ :event_name => "signup", :user => user, :created_at => created_time, :metadata => { :something => "here"} })
33
33
  end
34
34
 
35
35
  it 'fails when no user supplied' do
36
- user_event = Intercom::UserEvent.new
37
- user_event.event_name = "some event"
38
- user_event.created_at = Time.now
39
- proc { user_event.save }.must_raise ArgumentError, "Missing User"
36
+ event = Intercom::Event.new
37
+ event.event_name = "some event"
38
+ event.created_at = Time.now
39
+ proc { event.save }.must_raise ArgumentError, "Missing User"
40
40
  end
41
41
 
42
42
  it 'uses the user.email if no user.id found' do
@@ -47,24 +47,24 @@ describe "Intercom::UserEvent" do
47
47
  :user => { :email => user2.email}
48
48
  }]}).returns(:status => 200)
49
49
 
50
- Intercom::UserEvent.create({ :event_name => "signup", :user => user2, :created_at => created_time })
50
+ Intercom::Event.create({ :event_name => "signup", :user => user2, :created_at => created_time })
51
51
  end
52
52
 
53
53
  describe 'while batching events' do
54
54
 
55
55
  let (:event1) do
56
- user_event = Intercom::UserEvent.new
57
- user_event.event_name = "first event"
58
- user_event.created_at = Time.now
59
- user_event.user = user
60
- user_event
56
+ event = Intercom::Event.new
57
+ event.event_name = "first event"
58
+ event.created_at = Time.now
59
+ event.user = user
60
+ event
61
61
  end
62
62
 
63
63
  let (:event2) do
64
- user_event = Intercom::UserEvent.new
65
- user_event.event_name = "second event"
66
- user_event.created_at = Time.now
67
- user_event
64
+ event = Intercom::Event.new
65
+ event.event_name = "second event"
66
+ event.created_at = Time.now
67
+ event
68
68
  end
69
69
 
70
70
  it 'creates batched events' do
@@ -77,7 +77,7 @@ describe "Intercom::UserEvent" do
77
77
  :type => 'event'},
78
78
  ],
79
79
  :user => { :user_id => user.user_id}}).returns(:status => 200)
80
- Intercom::UserEvent.save_batch_events([event1, event2], user)
80
+ Intercom::Event.save_batch_events([event1, event2], user)
81
81
  end
82
82
  end
83
83
  end
@@ -263,12 +263,12 @@ describe "Intercom::User" do
263
263
  second_company_as_hash["created_at"].must_equal time.to_i
264
264
  end
265
265
 
266
- it "logs user events" do
266
+ it "tracks events" do
267
267
  user = Intercom::User.new("email" => "jim@example.com", :user_id => "12345", :created_at => Time.now, :name => "Jim Bob")
268
- Intercom::UserEvent.expects(:create).with(:event_name => 'registration', :user => user)
269
- event = user.log_event('registration')
268
+ Intercom::Event.expects(:create).with(:event_name => 'registration', :user => user)
269
+ event = user.track_event('registration')
270
270
 
271
- Intercom::UserEvent.expects(:create).with(:event_name => 'another', :user => user, :created_at => 1391691571)
272
- event = user.log_event("another", {:created_at => 1391691571})
271
+ Intercom::Event.expects(:create).with(:event_name => 'another', :user => user, :created_at => 1391691571)
272
+ event = user.track_event("another", {:created_at => 1391691571})
273
273
  end
274
274
  end
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: 0.2.3
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben McRedmond
@@ -9,79 +9,81 @@ authors:
9
9
  - Darragh Curran
10
10
  - Jeff Gardner
11
11
  - Kyle Daigle
12
+ - Declan McGrath
13
+ - Jamie Osler
12
14
  autorequire:
13
15
  bindir: bin
14
16
  cert_chain: []
15
- date: 2014-02-27 00:00:00.000000000 Z
17
+ date: 2014-04-16 00:00:00.000000000 Z
16
18
  dependencies:
17
19
  - !ruby/object:Gem::Dependency
18
20
  name: minitest
19
21
  requirement: !ruby/object:Gem::Requirement
20
22
  requirements:
21
- - - '>='
23
+ - - ">="
22
24
  - !ruby/object:Gem::Version
23
25
  version: '0'
24
26
  type: :development
25
27
  prerelease: false
26
28
  version_requirements: !ruby/object:Gem::Requirement
27
29
  requirements:
28
- - - '>='
30
+ - - ">="
29
31
  - !ruby/object:Gem::Version
30
32
  version: '0'
31
33
  - !ruby/object:Gem::Dependency
32
34
  name: rake
33
35
  requirement: !ruby/object:Gem::Requirement
34
36
  requirements:
35
- - - '>='
37
+ - - ">="
36
38
  - !ruby/object:Gem::Version
37
39
  version: '0'
38
40
  type: :development
39
41
  prerelease: false
40
42
  version_requirements: !ruby/object:Gem::Requirement
41
43
  requirements:
42
- - - '>='
44
+ - - ">="
43
45
  - !ruby/object:Gem::Version
44
46
  version: '0'
45
47
  - !ruby/object:Gem::Dependency
46
48
  name: mocha
47
49
  requirement: !ruby/object:Gem::Requirement
48
50
  requirements:
49
- - - '>='
51
+ - - ">="
50
52
  - !ruby/object:Gem::Version
51
53
  version: '0'
52
54
  type: :development
53
55
  prerelease: false
54
56
  version_requirements: !ruby/object:Gem::Requirement
55
57
  requirements:
56
- - - '>='
58
+ - - ">="
57
59
  - !ruby/object:Gem::Version
58
60
  version: '0'
59
61
  - !ruby/object:Gem::Dependency
60
62
  name: fakeweb
61
63
  requirement: !ruby/object:Gem::Requirement
62
64
  requirements:
63
- - - ~>
65
+ - - "~>"
64
66
  - !ruby/object:Gem::Version
65
67
  version: '1.3'
66
68
  type: :development
67
69
  prerelease: false
68
70
  version_requirements: !ruby/object:Gem::Requirement
69
71
  requirements:
70
- - - ~>
72
+ - - "~>"
71
73
  - !ruby/object:Gem::Version
72
74
  version: '1.3'
73
75
  - !ruby/object:Gem::Dependency
74
76
  name: json
75
77
  requirement: !ruby/object:Gem::Requirement
76
78
  requirements:
77
- - - '>='
79
+ - - ">="
78
80
  - !ruby/object:Gem::Version
79
81
  version: '0'
80
82
  type: :runtime
81
83
  prerelease: false
82
84
  version_requirements: !ruby/object:Gem::Requirement
83
85
  requirements:
84
- - - '>='
86
+ - - ">="
85
87
  - !ruby/object:Gem::Version
86
88
  version: '0'
87
89
  description: 'Intercom (https://www.intercom.io) is a customer relationship management
@@ -93,12 +95,14 @@ email:
93
95
  - darragh@intercom.io
94
96
  - jeff@intercom.io
95
97
  - kyle@digitalworkbox.com
98
+ - declan@intercom.io
99
+ - jamie@intercom.io
96
100
  executables: []
97
101
  extensions: []
98
102
  extra_rdoc_files: []
99
103
  files:
100
- - .gitignore
101
- - .travis.yml
104
+ - ".gitignore"
105
+ - ".travis.yml"
102
106
  - Gemfile
103
107
  - MIT-LICENSE
104
108
  - README.md
@@ -107,6 +111,7 @@ files:
107
111
  - intercom.gemspec
108
112
  - lib/data/cacert.pem
109
113
  - lib/intercom.rb
114
+ - lib/intercom/event.rb
110
115
  - lib/intercom/flat_store.rb
111
116
  - lib/intercom/hashable_object.rb
112
117
  - lib/intercom/impression.rb
@@ -119,7 +124,6 @@ files:
119
124
  - lib/intercom/unix_timestamp_unwrapper.rb
120
125
  - lib/intercom/user.rb
121
126
  - lib/intercom/user_collection_proxy.rb
122
- - lib/intercom/user_event.rb
123
127
  - lib/intercom/user_resource.rb
124
128
  - lib/intercom/version.rb
125
129
  - spec/integration/fixtures/v1-user.json
@@ -150,12 +154,12 @@ require_paths:
150
154
  - lib
151
155
  required_ruby_version: !ruby/object:Gem::Requirement
152
156
  requirements:
153
- - - '>='
157
+ - - ">="
154
158
  - !ruby/object:Gem::Version
155
159
  version: '0'
156
160
  required_rubygems_version: !ruby/object:Gem::Requirement
157
161
  requirements:
158
- - - '>='
162
+ - - ">="
159
163
  - !ruby/object:Gem::Version
160
164
  version: '0'
161
165
  requirements: []
@@ -164,23 +168,5 @@ rubygems_version: 2.0.3
164
168
  signing_key:
165
169
  specification_version: 4
166
170
  summary: Ruby bindings for the Intercom API
167
- test_files:
168
- - spec/integration/fixtures/v1-user.json
169
- - spec/integration/fixtures/v1-users-impression.json
170
- - spec/integration/fixtures/v1-users-message_thread.json
171
- - spec/integration/fixtures/v1-users-message_threads.json
172
- - spec/integration/fixtures/v1-users-note.json
173
- - spec/integration/fixtures/v1-users.json
174
- - spec/integration/intercom_api_integration_spec.rb
175
- - spec/spec_helper.rb
176
- - spec/unit/intercom/flat_store_spec.rb
177
- - spec/unit/intercom/impression_spec.rb
178
- - spec/unit/intercom/message_thread_spec.rb
179
- - spec/unit/intercom/note_spec.rb
180
- - spec/unit/intercom/tag_spec.rb
181
- - spec/unit/intercom/user_collection_proxy_spec.rb
182
- - spec/unit/intercom/user_event_spec.rb
183
- - spec/unit/intercom/user_resource_spec.rb
184
- - spec/unit/intercom/user_spec.rb
185
- - spec/unit/intercom_spec.rb
171
+ test_files: []
186
172
  has_rdoc: