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: f5cca3af8d5d0d1cccb5338087a09cebd0d2eafea819ff77a2bd1b5ee830029d
4
- data.tar.gz: a578e6a7fa3d0ddcc2b01101923f5a4803a0e3b0fc938f77f7de12812b139b41
3
+ metadata.gz: 8a6035514c4b02334a8877c08605422e566cf21d03ae67ce47221cbc1446bd34
4
+ data.tar.gz: a38a00221ff2f7f5b74be9f28daf89c0d2895375c64e7417023f6a8c9e3294c6
5
5
  SHA512:
6
- metadata.gz: 329f90af23c78753e3947f7e9b41ad5879ff566f0145764d9b85e1f81df8172d6052abe168ba52ef251704c216894838bddcbb67577a9fd7fe9e80956a27bf13
7
- data.tar.gz: 26a104211a55761bf40ae03269cdc8c2dd66c68875466c44c48a371061a1263451204910dfa0482414b34dd9c2aee49d356f66e3148ca4100a2406872e7aa5af
6
+ metadata.gz: f1a827ee9da05d64250a5f09923b771c295fac1c7ba13f0acb3313c80b7e5874b98a3377c32d0707c29b4de7178ca557d6ec722282a94f865daf4ac5009f92db
7
+ data.tar.gz: ab2bf7bc68ce19a11e59b2350d1fc916709f0c67a881dc9a0985b13967a8170f7149e05c7b4959b90c7d198e50f1d50b349d30fd6bb68e53e254713613069b73
@@ -51,7 +51,7 @@ module TwilioBase
51
51
  end
52
52
 
53
53
  def refer_attribues
54
- { action: action_url }
54
+ { action: status_callback_url }
55
55
  end
56
56
 
57
57
  def sip_whip
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TwilioBase
4
- VERSION = '1.11.11'
4
+ VERSION = '1.11.1101'
5
5
  end
@@ -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
- action_url = 'https://example.com'
140
+ status_callback_url = 'https://example.com'
141
141
  sip = described_class.new(
142
142
  params: {
143
- action_url: action_url,
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: action_url }
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.action_url,
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.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-09-28 00:00:00.000000000 Z
13
+ date: 2020-10-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: addressable