twilio_base 1.11.11 → 1.11.1101
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a6035514c4b02334a8877c08605422e566cf21d03ae67ce47221cbc1446bd34
|
4
|
+
data.tar.gz: a38a00221ff2f7f5b74be9f28daf89c0d2895375c64e7417023f6a8c9e3294c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1a827ee9da05d64250a5f09923b771c295fac1c7ba13f0acb3313c80b7e5874b98a3377c32d0707c29b4de7178ca557d6ec722282a94f865daf4ac5009f92db
|
7
|
+
data.tar.gz: ab2bf7bc68ce19a11e59b2350d1fc916709f0c67a881dc9a0985b13967a8170f7149e05c7b4959b90c7d198e50f1d50b349d30fd6bb68e53e254713613069b73
|
data/lib/twilio_base/version.rb
CHANGED
@@ -137,16 +137,16 @@ RSpec.describe TwilioBase::Protocols::Voice::Sip do
|
|
137
137
|
describe '#routing_attributes' do
|
138
138
|
context 'with sip refer enabled' do
|
139
139
|
it 'returns refer attributes' do
|
140
|
-
|
140
|
+
status_callback_url = 'https://example.com'
|
141
141
|
sip = described_class.new(
|
142
142
|
params: {
|
143
|
-
|
143
|
+
status_callback_url: status_callback_url,
|
144
144
|
sip_refer_enabled: true
|
145
145
|
},
|
146
146
|
to: '+1234567890'
|
147
147
|
)
|
148
148
|
|
149
|
-
expected_result = { action:
|
149
|
+
expected_result = { action: status_callback_url }
|
150
150
|
expect(sip.routing_attributes).to eq(expected_result)
|
151
151
|
end
|
152
152
|
end
|
@@ -93,7 +93,6 @@ RSpec.describe TwilioBase::Routers::Voice::DirectDial do
|
|
93
93
|
it 'returns sip refer Twiml' do
|
94
94
|
protocol = TwilioBase::Protocols::Voice::Sip.new(
|
95
95
|
params: {
|
96
|
-
action_url: 'https://someurl.com',
|
97
96
|
sip_endpoint: '124@abc.net',
|
98
97
|
status_callback_url: 'https://somestatusurl.com',
|
99
98
|
sip_refer_enabled: true
|
@@ -104,7 +103,7 @@ RSpec.describe TwilioBase::Routers::Voice::DirectDial do
|
|
104
103
|
|
105
104
|
expected_result = refer_twiml(
|
106
105
|
params: {
|
107
|
-
action_url: protocol.
|
106
|
+
action_url: protocol.status_callback_url,
|
108
107
|
endpoint: protocol.endpoint,
|
109
108
|
status_callback_url: protocol.status_callback_url,
|
110
109
|
status_callback_events: protocol.status_callback_events
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twilio_base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.11.
|
4
|
+
version: 1.11.1101
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Brown
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-
|
13
|
+
date: 2020-10-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: addressable
|