xip-twilio 1.3.5 → 1.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/Gemfile.lock +4 -4
- data/VERSION +1 -1
- data/lib/xip/services/twilio/client.rb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c015c6da6202504a6087e2a0283ccc95a37fae838f1240c6a19754be5f379f78
|
4
|
+
data.tar.gz: 3a9023a3b5a0f9b18446735aaacc04ad8d9a33f6b8637d7967cfa024f1c9bf1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f809c52733b069549f0e786f765e84f93b7bed5025157330efb2bd3d08c187b3671e58d87b63ca2d82c0b1573c77e3b8122103bceb5ea51900edf9dd2c627142
|
7
|
+
data.tar.gz: 0510033bc6a71547b7c3b65663e0c3e06088a3ce608223d87e3d10560101383a4a1be86205e06c24831e9df4cdd212549298b147e23f40dbed1230773a108e29
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
xip-twilio (1.3.
|
4
|
+
xip-twilio (1.3.6)
|
5
5
|
twilio-ruby (~> 5.5)
|
6
6
|
xip (~> 2.0.0.beta)
|
7
7
|
|
@@ -21,7 +21,7 @@ GEM
|
|
21
21
|
faraday-net_http (~> 1.0)
|
22
22
|
multipart-post (>= 1.2, < 3)
|
23
23
|
ruby2_keywords
|
24
|
-
faraday-net_http (1.0.
|
24
|
+
faraday-net_http (1.0.1)
|
25
25
|
i18n (1.8.5)
|
26
26
|
concurrent-ruby (~> 1.0)
|
27
27
|
jwt (2.2.2)
|
@@ -32,7 +32,7 @@ GEM
|
|
32
32
|
mustermann (1.1.1)
|
33
33
|
ruby2_keywords (~> 0.0.1)
|
34
34
|
nio4r (2.5.4)
|
35
|
-
nokogiri (1.11.
|
35
|
+
nokogiri (1.11.1)
|
36
36
|
mini_portile2 (~> 2.5.0)
|
37
37
|
racc (~> 1.4)
|
38
38
|
puma (4.3.7)
|
@@ -71,7 +71,7 @@ GEM
|
|
71
71
|
tilt (~> 2.0)
|
72
72
|
thor (1.0.1)
|
73
73
|
tilt (2.0.10)
|
74
|
-
twilio-ruby (5.
|
74
|
+
twilio-ruby (5.47.0)
|
75
75
|
faraday (>= 0.9, < 2.0)
|
76
76
|
jwt (>= 1.5, <= 2.5)
|
77
77
|
nokogiri (>= 1.6, < 2.0)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.6
|
@@ -35,6 +35,11 @@ module Xip
|
|
35
35
|
begin
|
36
36
|
response = twilio_client.messages.create(reply)
|
37
37
|
rescue ::Twilio::REST::RestError => e
|
38
|
+
Xip::Logger.l(
|
39
|
+
topic: "twilio",
|
40
|
+
message: "Error: #{e.message}"
|
41
|
+
)
|
42
|
+
|
38
43
|
case e.message
|
39
44
|
when /21610/ # Attempt to send to unsubscribed recipient
|
40
45
|
raise Xip::Errors::UserOptOut
|