intercom 3.7.5 → 3.7.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/changes.txt +3 -0
- data/lib/intercom/errors.rb +3 -0
- data/lib/intercom/request.rb +2 -0
- data/lib/intercom/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c4c8b57a5c41c85975fdf6fcef17df57ed569f9
|
4
|
+
data.tar.gz: 1322a94169648b92d3b7118e1260335d98416f75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0a3a916a70c2fc634d00179003d9e187aa3a9b093d47a44e25388b6db7adab10ecf36b3713ce9d03768e017dfb92ed9a1f1e43161f838d624a1cf021732dffa
|
7
|
+
data.tar.gz: dc48ee16054b0a14c8c4bc6ebfe5590e70543f790298ffd824fecdece3acd0b68bed7b806c94cafd56032755eb749d0be0f8adc4fb1f23acdbfc4ef272d5fe1c
|
data/README.md
CHANGED
data/changes.txt
CHANGED
data/lib/intercom/errors.rb
CHANGED
@@ -87,6 +87,9 @@ module Intercom
|
|
87
87
|
# Raised when an creating a scroll if one already exists
|
88
88
|
class ScrollAlreadyExistsError < IntercomError; end
|
89
89
|
|
90
|
+
# Raised when a CDA is invalid
|
91
|
+
class InvalidDocumentError < IntercomError; end
|
92
|
+
|
90
93
|
#
|
91
94
|
# Non-public errors (internal to the gem)
|
92
95
|
#
|
data/lib/intercom/request.rb
CHANGED
@@ -179,6 +179,8 @@ module Intercom
|
|
179
179
|
raise Intercom::RateLimitExceeded.new(error_details['message'], error_context)
|
180
180
|
when "custom_data_limit_reached"
|
181
181
|
raise Intercom::CDALimitReachedError.new(error_details['message'], error_context)
|
182
|
+
when "invalid_document"
|
183
|
+
raise Intercom::InvalidDocumentError.new(error_details['message'], error_context)
|
182
184
|
when 'service_unavailable'
|
183
185
|
raise Intercom::ServiceUnavailableError.new(error_details['message'], error_context)
|
184
186
|
when 'conflict', 'unique_user_constraint'
|
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.6
|
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-03-
|
18
|
+
date: 2019-03-26 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: minitest
|