twilio-ruby 5.25.3 → 5.25.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +26 -0
  3. data/README.md +2 -2
  4. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +1 -8
  5. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +4 -4
  6. data/lib/twilio-ruby/rest/flex_api.rb +16 -0
  7. data/lib/twilio-ruby/rest/flex_api/v1.rb +30 -0
  8. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +352 -0
  9. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +7 -0
  10. data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +358 -0
  11. data/lib/twilio-ruby/rest/insights/v1/summary.rb +0 -14
  12. data/lib/twilio-ruby/rest/ip_messaging.rb +2 -2
  13. data/lib/twilio-ruby/rest/sync/v1/service.rb +22 -3
  14. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +5 -5
  15. data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +2 -2
  16. data/lib/twilio-ruby/twiml/voice_response.rb +19 -7
  17. data/lib/twilio-ruby/version.rb +1 -1
  18. data/spec/integration/conversations/v1/conversation_spec.rb +1 -1
  19. data/spec/integration/flex_api/v1/channel_spec.rb +191 -0
  20. data/spec/integration/flex_api/v1/configuration_spec.rb +24 -0
  21. data/spec/integration/flex_api/v1/web_channel_spec.rb +220 -0
  22. data/spec/integration/insights/v1/summary_spec.rb +0 -2
  23. data/spec/integration/ip_messaging/v1/credential_spec.rb +5 -5
  24. data/spec/integration/ip_messaging/v1/service/channel/invite_spec.rb +4 -4
  25. data/spec/integration/ip_messaging/v1/service/channel/member_spec.rb +5 -5
  26. data/spec/integration/ip_messaging/v1/service/channel/message_spec.rb +5 -5
  27. data/spec/integration/ip_messaging/v1/service/channel_spec.rb +5 -5
  28. data/spec/integration/ip_messaging/v1/service/role_spec.rb +5 -5
  29. data/spec/integration/ip_messaging/v1/service/user/user_channel_spec.rb +1 -1
  30. data/spec/integration/ip_messaging/v1/service/user_spec.rb +5 -5
  31. data/spec/integration/ip_messaging/v1/service_spec.rb +5 -5
  32. data/spec/integration/ip_messaging/v2/credential_spec.rb +5 -5
  33. data/spec/integration/ip_messaging/v2/service/binding_spec.rb +3 -3
  34. data/spec/integration/ip_messaging/v2/service/channel/invite_spec.rb +4 -4
  35. data/spec/integration/ip_messaging/v2/service/channel/member_spec.rb +5 -5
  36. data/spec/integration/ip_messaging/v2/service/channel/message_spec.rb +5 -5
  37. data/spec/integration/ip_messaging/v2/service/channel/webhook_spec.rb +5 -5
  38. data/spec/integration/ip_messaging/v2/service/channel_spec.rb +5 -5
  39. data/spec/integration/ip_messaging/v2/service/role_spec.rb +5 -5
  40. data/spec/integration/ip_messaging/v2/service/user/user_binding_spec.rb +3 -3
  41. data/spec/integration/ip_messaging/v2/service/user/user_channel_spec.rb +3 -3
  42. data/spec/integration/ip_messaging/v2/service/user_spec.rb +5 -5
  43. data/spec/integration/ip_messaging/v2/service_spec.rb +5 -5
  44. data/spec/integration/monitor/v1/alert_spec.rb +8 -8
  45. data/spec/integration/sync/v1/service_spec.rb +4 -0
  46. data/spec/integration/wireless/v1/rate_plan_spec.rb +8 -0
  47. metadata +8 -2
@@ -34,8 +34,6 @@ describe 'CallSummary' do
34
34
  "call_type": "carrier",
35
35
  "call_state": "ringing",
36
36
  "processing_state": "complete",
37
- "direction": "inbound",
38
- "disconnected_by": "callee",
39
37
  "start_time": "2015-07-30T20:00:00Z",
40
38
  "end_time": "2015-07-30T20:00:00Z",
41
39
  "duration": 100,
@@ -20,7 +20,7 @@ describe 'Credential' do
20
20
  expect(
21
21
  @holodeck.has_request?(Holodeck::Request.new(
22
22
  method: 'get',
23
- url: 'https://ip-messaging.twilio.com/v1/Credentials',
23
+ url: 'https://chat.twilio.com/v1/Credentials',
24
24
  ))).to eq(true)
25
25
  end
26
26
 
@@ -94,7 +94,7 @@ describe 'Credential' do
94
94
  expect(
95
95
  @holodeck.has_request?(Holodeck::Request.new(
96
96
  method: 'post',
97
- url: 'https://ip-messaging.twilio.com/v1/Credentials',
97
+ url: 'https://chat.twilio.com/v1/Credentials',
98
98
  data: values,
99
99
  ))).to eq(true)
100
100
  end
@@ -132,7 +132,7 @@ describe 'Credential' do
132
132
  expect(
133
133
  @holodeck.has_request?(Holodeck::Request.new(
134
134
  method: 'get',
135
- url: 'https://ip-messaging.twilio.com/v1/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
135
+ url: 'https://chat.twilio.com/v1/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
136
136
  ))).to eq(true)
137
137
  end
138
138
 
@@ -169,7 +169,7 @@ describe 'Credential' do
169
169
  expect(
170
170
  @holodeck.has_request?(Holodeck::Request.new(
171
171
  method: 'post',
172
- url: 'https://ip-messaging.twilio.com/v1/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
172
+ url: 'https://chat.twilio.com/v1/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
173
173
  ))).to eq(true)
174
174
  end
175
175
 
@@ -206,7 +206,7 @@ describe 'Credential' do
206
206
  expect(
207
207
  @holodeck.has_request?(Holodeck::Request.new(
208
208
  method: 'delete',
209
- url: 'https://ip-messaging.twilio.com/v1/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
209
+ url: 'https://chat.twilio.com/v1/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
210
210
  ))).to eq(true)
211
211
  end
212
212
 
@@ -22,7 +22,7 @@ describe 'Invite' do
22
22
  expect(
23
23
  @holodeck.has_request?(Holodeck::Request.new(
24
24
  method: 'get',
25
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Invites/INXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
25
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Invites/INXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
26
26
  ))).to eq(true)
27
27
  end
28
28
 
@@ -65,7 +65,7 @@ describe 'Invite' do
65
65
  expect(
66
66
  @holodeck.has_request?(Holodeck::Request.new(
67
67
  method: 'post',
68
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Invites',
68
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Invites',
69
69
  data: values,
70
70
  ))).to eq(true)
71
71
  end
@@ -109,7 +109,7 @@ describe 'Invite' do
109
109
  expect(
110
110
  @holodeck.has_request?(Holodeck::Request.new(
111
111
  method: 'get',
112
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Invites',
112
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Invites',
113
113
  ))).to eq(true)
114
114
  end
115
115
 
@@ -191,7 +191,7 @@ describe 'Invite' do
191
191
  expect(
192
192
  @holodeck.has_request?(Holodeck::Request.new(
193
193
  method: 'delete',
194
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Invites/INXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
194
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Invites/INXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
195
195
  ))).to eq(true)
196
196
  end
197
197
 
@@ -22,7 +22,7 @@ describe 'Member' do
22
22
  expect(
23
23
  @holodeck.has_request?(Holodeck::Request.new(
24
24
  method: 'get',
25
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Members/MBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
25
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Members/MBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
26
26
  ))).to eq(true)
27
27
  end
28
28
 
@@ -66,7 +66,7 @@ describe 'Member' do
66
66
  expect(
67
67
  @holodeck.has_request?(Holodeck::Request.new(
68
68
  method: 'post',
69
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Members',
69
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Members',
70
70
  data: values,
71
71
  ))).to eq(true)
72
72
  end
@@ -111,7 +111,7 @@ describe 'Member' do
111
111
  expect(
112
112
  @holodeck.has_request?(Holodeck::Request.new(
113
113
  method: 'get',
114
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Members',
114
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Members',
115
115
  ))).to eq(true)
116
116
  end
117
117
 
@@ -194,7 +194,7 @@ describe 'Member' do
194
194
  expect(
195
195
  @holodeck.has_request?(Holodeck::Request.new(
196
196
  method: 'delete',
197
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Members/MBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
197
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Members/MBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
198
198
  ))).to eq(true)
199
199
  end
200
200
 
@@ -224,7 +224,7 @@ describe 'Member' do
224
224
  expect(
225
225
  @holodeck.has_request?(Holodeck::Request.new(
226
226
  method: 'post',
227
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Members/MBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
227
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Members/MBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
228
228
  ))).to eq(true)
229
229
  end
230
230
 
@@ -22,7 +22,7 @@ describe 'Message' do
22
22
  expect(
23
23
  @holodeck.has_request?(Holodeck::Request.new(
24
24
  method: 'get',
25
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages/IMXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
25
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages/IMXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
26
26
  ))).to eq(true)
27
27
  end
28
28
 
@@ -68,7 +68,7 @@ describe 'Message' do
68
68
  expect(
69
69
  @holodeck.has_request?(Holodeck::Request.new(
70
70
  method: 'post',
71
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages',
71
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages',
72
72
  data: values,
73
73
  ))).to eq(true)
74
74
  end
@@ -144,7 +144,7 @@ describe 'Message' do
144
144
  expect(
145
145
  @holodeck.has_request?(Holodeck::Request.new(
146
146
  method: 'get',
147
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages',
147
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages',
148
148
  ))).to eq(true)
149
149
  end
150
150
 
@@ -229,7 +229,7 @@ describe 'Message' do
229
229
  expect(
230
230
  @holodeck.has_request?(Holodeck::Request.new(
231
231
  method: 'delete',
232
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages/IMXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
232
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages/IMXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
233
233
  ))).to eq(true)
234
234
  end
235
235
 
@@ -259,7 +259,7 @@ describe 'Message' do
259
259
  expect(
260
260
  @holodeck.has_request?(Holodeck::Request.new(
261
261
  method: 'post',
262
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages/IMXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
262
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages/IMXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
263
263
  ))).to eq(true)
264
264
  end
265
265
 
@@ -21,7 +21,7 @@ describe 'Channel' do
21
21
  expect(
22
22
  @holodeck.has_request?(Holodeck::Request.new(
23
23
  method: 'get',
24
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
24
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
25
25
  ))).to eq(true)
26
26
  end
27
27
 
@@ -71,7 +71,7 @@ describe 'Channel' do
71
71
  expect(
72
72
  @holodeck.has_request?(Holodeck::Request.new(
73
73
  method: 'delete',
74
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
74
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
75
75
  ))).to eq(true)
76
76
  end
77
77
 
@@ -99,7 +99,7 @@ describe 'Channel' do
99
99
  expect(
100
100
  @holodeck.has_request?(Holodeck::Request.new(
101
101
  method: 'post',
102
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels',
102
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels',
103
103
  ))).to eq(true)
104
104
  end
105
105
 
@@ -149,7 +149,7 @@ describe 'Channel' do
149
149
  expect(
150
150
  @holodeck.has_request?(Holodeck::Request.new(
151
151
  method: 'get',
152
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels',
152
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels',
153
153
  ))).to eq(true)
154
154
  end
155
155
 
@@ -237,7 +237,7 @@ describe 'Channel' do
237
237
  expect(
238
238
  @holodeck.has_request?(Holodeck::Request.new(
239
239
  method: 'post',
240
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
240
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
241
241
  ))).to eq(true)
242
242
  end
243
243
 
@@ -21,7 +21,7 @@ describe 'Role' do
21
21
  expect(
22
22
  @holodeck.has_request?(Holodeck::Request.new(
23
23
  method: 'get',
24
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Roles/RLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
24
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Roles/RLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
25
25
  ))).to eq(true)
26
26
  end
27
27
 
@@ -66,7 +66,7 @@ describe 'Role' do
66
66
  expect(
67
67
  @holodeck.has_request?(Holodeck::Request.new(
68
68
  method: 'delete',
69
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Roles/RLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
69
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Roles/RLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
70
70
  ))).to eq(true)
71
71
  end
72
72
 
@@ -98,7 +98,7 @@ describe 'Role' do
98
98
  expect(
99
99
  @holodeck.has_request?(Holodeck::Request.new(
100
100
  method: 'post',
101
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Roles',
101
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Roles',
102
102
  data: values,
103
103
  ))).to eq(true)
104
104
  end
@@ -144,7 +144,7 @@ describe 'Role' do
144
144
  expect(
145
145
  @holodeck.has_request?(Holodeck::Request.new(
146
146
  method: 'get',
147
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Roles',
147
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Roles',
148
148
  ))).to eq(true)
149
149
  end
150
150
 
@@ -227,7 +227,7 @@ describe 'Role' do
227
227
  expect(
228
228
  @holodeck.has_request?(Holodeck::Request.new(
229
229
  method: 'post',
230
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Roles/RLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
230
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Roles/RLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
231
231
  data: values,
232
232
  ))).to eq(true)
233
233
  end
@@ -22,7 +22,7 @@ describe 'UserChannel' do
22
22
  expect(
23
23
  @holodeck.has_request?(Holodeck::Request.new(
24
24
  method: 'get',
25
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Users/USXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels',
25
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Users/USXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels',
26
26
  ))).to eq(true)
27
27
  end
28
28
 
@@ -21,7 +21,7 @@ describe 'User' do
21
21
  expect(
22
22
  @holodeck.has_request?(Holodeck::Request.new(
23
23
  method: 'get',
24
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Users/USXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
24
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Users/USXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
25
25
  ))).to eq(true)
26
26
  end
27
27
 
@@ -68,7 +68,7 @@ describe 'User' do
68
68
  expect(
69
69
  @holodeck.has_request?(Holodeck::Request.new(
70
70
  method: 'delete',
71
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Users/USXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
71
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Users/USXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
72
72
  ))).to eq(true)
73
73
  end
74
74
 
@@ -96,7 +96,7 @@ describe 'User' do
96
96
  expect(
97
97
  @holodeck.has_request?(Holodeck::Request.new(
98
98
  method: 'post',
99
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Users',
99
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Users',
100
100
  data: values,
101
101
  ))).to eq(true)
102
102
  end
@@ -144,7 +144,7 @@ describe 'User' do
144
144
  expect(
145
145
  @holodeck.has_request?(Holodeck::Request.new(
146
146
  method: 'get',
147
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Users',
147
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Users',
148
148
  ))).to eq(true)
149
149
  end
150
150
 
@@ -229,7 +229,7 @@ describe 'User' do
229
229
  expect(
230
230
  @holodeck.has_request?(Holodeck::Request.new(
231
231
  method: 'post',
232
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Users/USXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
232
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Users/USXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
233
233
  ))).to eq(true)
234
234
  end
235
235
 
@@ -20,7 +20,7 @@ describe 'Service' do
20
20
  expect(
21
21
  @holodeck.has_request?(Holodeck::Request.new(
22
22
  method: 'get',
23
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
23
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
24
24
  ))).to eq(true)
25
25
  end
26
26
 
@@ -76,7 +76,7 @@ describe 'Service' do
76
76
  expect(
77
77
  @holodeck.has_request?(Holodeck::Request.new(
78
78
  method: 'delete',
79
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
79
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
80
80
  ))).to eq(true)
81
81
  end
82
82
 
@@ -102,7 +102,7 @@ describe 'Service' do
102
102
  expect(
103
103
  @holodeck.has_request?(Holodeck::Request.new(
104
104
  method: 'post',
105
- url: 'https://ip-messaging.twilio.com/v1/Services',
105
+ url: 'https://chat.twilio.com/v1/Services',
106
106
  data: values,
107
107
  ))).to eq(true)
108
108
  end
@@ -159,7 +159,7 @@ describe 'Service' do
159
159
  expect(
160
160
  @holodeck.has_request?(Holodeck::Request.new(
161
161
  method: 'get',
162
- url: 'https://ip-messaging.twilio.com/v1/Services',
162
+ url: 'https://chat.twilio.com/v1/Services',
163
163
  ))).to eq(true)
164
164
  end
165
165
 
@@ -252,7 +252,7 @@ describe 'Service' do
252
252
  expect(
253
253
  @holodeck.has_request?(Holodeck::Request.new(
254
254
  method: 'post',
255
- url: 'https://ip-messaging.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
255
+ url: 'https://chat.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
256
256
  ))).to eq(true)
257
257
  end
258
258
 
@@ -20,7 +20,7 @@ describe 'Credential' do
20
20
  expect(
21
21
  @holodeck.has_request?(Holodeck::Request.new(
22
22
  method: 'get',
23
- url: 'https://ip-messaging.twilio.com/v2/Credentials',
23
+ url: 'https://chat.twilio.com/v2/Credentials',
24
24
  ))).to eq(true)
25
25
  end
26
26
 
@@ -94,7 +94,7 @@ describe 'Credential' do
94
94
  expect(
95
95
  @holodeck.has_request?(Holodeck::Request.new(
96
96
  method: 'post',
97
- url: 'https://ip-messaging.twilio.com/v2/Credentials',
97
+ url: 'https://chat.twilio.com/v2/Credentials',
98
98
  data: values,
99
99
  ))).to eq(true)
100
100
  end
@@ -132,7 +132,7 @@ describe 'Credential' do
132
132
  expect(
133
133
  @holodeck.has_request?(Holodeck::Request.new(
134
134
  method: 'get',
135
- url: 'https://ip-messaging.twilio.com/v2/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
135
+ url: 'https://chat.twilio.com/v2/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
136
136
  ))).to eq(true)
137
137
  end
138
138
 
@@ -169,7 +169,7 @@ describe 'Credential' do
169
169
  expect(
170
170
  @holodeck.has_request?(Holodeck::Request.new(
171
171
  method: 'post',
172
- url: 'https://ip-messaging.twilio.com/v2/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
172
+ url: 'https://chat.twilio.com/v2/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
173
173
  ))).to eq(true)
174
174
  end
175
175
 
@@ -206,7 +206,7 @@ describe 'Credential' do
206
206
  expect(
207
207
  @holodeck.has_request?(Holodeck::Request.new(
208
208
  method: 'delete',
209
- url: 'https://ip-messaging.twilio.com/v2/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
209
+ url: 'https://chat.twilio.com/v2/Credentials/CRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
210
210
  ))).to eq(true)
211
211
  end
212
212
 
@@ -21,7 +21,7 @@ describe 'Binding' do
21
21
  expect(
22
22
  @holodeck.has_request?(Holodeck::Request.new(
23
23
  method: 'get',
24
- url: 'https://ip-messaging.twilio.com/v2/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Bindings',
24
+ url: 'https://chat.twilio.com/v2/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Bindings',
25
25
  ))).to eq(true)
26
26
  end
27
27
 
@@ -109,7 +109,7 @@ describe 'Binding' do
109
109
  expect(
110
110
  @holodeck.has_request?(Holodeck::Request.new(
111
111
  method: 'get',
112
- url: 'https://ip-messaging.twilio.com/v2/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Bindings/BSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
112
+ url: 'https://chat.twilio.com/v2/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Bindings/BSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
113
113
  ))).to eq(true)
114
114
  end
115
115
 
@@ -159,7 +159,7 @@ describe 'Binding' do
159
159
  expect(
160
160
  @holodeck.has_request?(Holodeck::Request.new(
161
161
  method: 'delete',
162
- url: 'https://ip-messaging.twilio.com/v2/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Bindings/BSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
162
+ url: 'https://chat.twilio.com/v2/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Bindings/BSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
163
163
  ))).to eq(true)
164
164
  end
165
165
 
@@ -22,7 +22,7 @@ describe 'Invite' do
22
22
  expect(
23
23
  @holodeck.has_request?(Holodeck::Request.new(
24
24
  method: 'get',
25
- url: 'https://ip-messaging.twilio.com/v2/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Invites/INXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
25
+ url: 'https://chat.twilio.com/v2/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Invites/INXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
26
26
  ))).to eq(true)
27
27
  end
28
28
 
@@ -65,7 +65,7 @@ describe 'Invite' do
65
65
  expect(
66
66
  @holodeck.has_request?(Holodeck::Request.new(
67
67
  method: 'post',
68
- url: 'https://ip-messaging.twilio.com/v2/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Invites',
68
+ url: 'https://chat.twilio.com/v2/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Invites',
69
69
  data: values,
70
70
  ))).to eq(true)
71
71
  end
@@ -109,7 +109,7 @@ describe 'Invite' do
109
109
  expect(
110
110
  @holodeck.has_request?(Holodeck::Request.new(
111
111
  method: 'get',
112
- url: 'https://ip-messaging.twilio.com/v2/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Invites',
112
+ url: 'https://chat.twilio.com/v2/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Invites',
113
113
  ))).to eq(true)
114
114
  end
115
115
 
@@ -191,7 +191,7 @@ describe 'Invite' do
191
191
  expect(
192
192
  @holodeck.has_request?(Holodeck::Request.new(
193
193
  method: 'delete',
194
- url: 'https://ip-messaging.twilio.com/v2/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Invites/INXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
194
+ url: 'https://chat.twilio.com/v2/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Channels/CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Invites/INXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
195
195
  ))).to eq(true)
196
196
  end
197
197