twilio-ruby 5.7.2 → 5.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +4 -0
  3. data/CHANGES.md +19 -0
  4. data/README.md +2 -2
  5. data/lib/twilio-ruby/framework/error.rb +20 -6
  6. data/lib/twilio-ruby/framework/version.rb +1 -10
  7. data/lib/twilio-ruby/jwt/access_token.rb +3 -1
  8. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +0 -7
  9. data/lib/twilio-ruby/rest/preview.rb +11 -3
  10. data/lib/twilio-ruby/rest/preview/understand.rb +6 -6
  11. data/lib/twilio-ruby/rest/preview/understand/{service.rb → assistant.rb} +94 -55
  12. data/lib/twilio-ruby/rest/preview/understand/{service → assistant}/field_type.rb +33 -23
  13. data/lib/twilio-ruby/rest/preview/understand/{service → assistant}/field_type/field_value.rb +30 -22
  14. data/lib/twilio-ruby/rest/preview/understand/{service → assistant}/intent.rb +39 -25
  15. data/lib/twilio-ruby/rest/preview/understand/{service → assistant}/intent/field.rb +20 -20
  16. data/lib/twilio-ruby/rest/preview/understand/{service → assistant}/intent/sample.rb +45 -27
  17. data/lib/twilio-ruby/rest/preview/understand/{service → assistant}/model_build.rb +21 -21
  18. data/lib/twilio-ruby/rest/preview/understand/{service → assistant}/query.rb +31 -26
  19. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +6 -2
  20. data/lib/twilio-ruby/rest/video/v1/recording.rb +1 -1
  21. data/lib/twilio-ruby/version.rb +1 -1
  22. data/spec/integration/accounts/v1/credential/aws_spec.rb +9 -9
  23. data/spec/integration/accounts/v1/credential/public_key_spec.rb +9 -9
  24. data/spec/integration/api/v2010/account/address/dependent_phone_number_spec.rb +7 -7
  25. data/spec/integration/api/v2010/account/address_spec.rb +22 -22
  26. data/spec/integration/api/v2010/account/application_spec.rb +22 -22
  27. data/spec/integration/api/v2010/account/authorized_connect_app_spec.rb +9 -9
  28. data/spec/integration/api/v2010/account/available_phone_number/local_spec.rb +4 -4
  29. data/spec/integration/api/v2010/account/available_phone_number/machine_to_machine_spec.rb +4 -4
  30. data/spec/integration/api/v2010/account/available_phone_number/mobile_spec.rb +4 -4
  31. data/spec/integration/api/v2010/account/available_phone_number/national_spec.rb +4 -4
  32. data/spec/integration/api/v2010/account/available_phone_number/shared_cost_spec.rb +4 -4
  33. data/spec/integration/api/v2010/account/available_phone_number/toll_free_spec.rb +4 -4
  34. data/spec/integration/api/v2010/account/available_phone_number/voip_spec.rb +4 -4
  35. data/spec/integration/api/v2010/account/available_phone_number_spec.rb +7 -7
  36. data/spec/integration/api/v2010/account/call/feedback_spec.rb +15 -15
  37. data/spec/integration/api/v2010/account/call/feedback_summary_spec.rb +13 -13
  38. data/spec/integration/api/v2010/account/call/notification_spec.rb +21 -21
  39. data/spec/integration/api/v2010/account/call/recording_spec.rb +21 -21
  40. data/spec/integration/api/v2010/account/call_spec.rb +22 -22
  41. data/spec/integration/api/v2010/account/conference/participant_spec.rb +35 -35
  42. data/spec/integration/api/v2010/account/conference_spec.rb +14 -14
  43. data/spec/integration/api/v2010/account/connect_app_spec.rb +14 -14
  44. data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension_spec.rb +19 -19
  45. data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on_spec.rb +29 -29
  46. data/spec/integration/api/v2010/account/incoming_phone_number/local_spec.rb +7 -7
  47. data/spec/integration/api/v2010/account/incoming_phone_number/mobile_spec.rb +7 -7
  48. data/spec/integration/api/v2010/account/incoming_phone_number/toll_free_spec.rb +7 -7
  49. data/spec/integration/api/v2010/account/incoming_phone_number_spec.rb +22 -22
  50. data/spec/integration/api/v2010/account/key_spec.rb +19 -19
  51. data/spec/integration/api/v2010/account/message/feedback_spec.rb +5 -5
  52. data/spec/integration/api/v2010/account/message/media_spec.rb +21 -21
  53. data/spec/integration/api/v2010/account/message_spec.rb +22 -22
  54. data/spec/integration/api/v2010/account/new_key_spec.rb +3 -3
  55. data/spec/integration/api/v2010/account/new_signing_key_spec.rb +3 -3
  56. data/spec/integration/api/v2010/account/notification_spec.rb +14 -14
  57. data/spec/integration/api/v2010/account/outgoing_caller_id_spec.rb +19 -19
  58. data/spec/integration/api/v2010/account/queue/member_spec.rb +21 -21
  59. data/spec/integration/api/v2010/account/queue_spec.rb +22 -22
  60. data/spec/integration/api/v2010/account/recording/add_on_result/payload_spec.rb +28 -28
  61. data/spec/integration/api/v2010/account/recording/add_on_result_spec.rb +21 -21
  62. data/spec/integration/api/v2010/account/recording/transcription_spec.rb +21 -21
  63. data/spec/integration/api/v2010/account/recording_spec.rb +14 -14
  64. data/spec/integration/api/v2010/account/short_code_spec.rb +14 -14
  65. data/spec/integration/api/v2010/account/signing_key_spec.rb +19 -19
  66. data/spec/integration/api/v2010/account/sip/credential_list/credential_spec.rb +33 -33
  67. data/spec/integration/api/v2010/account/sip/credential_list_spec.rb +22 -22
  68. data/spec/integration/api/v2010/account/sip/domain/credential_list_mapping_spec.rb +29 -29
  69. data/spec/integration/api/v2010/account/sip/domain/ip_access_control_list_mapping_spec.rb +29 -29
  70. data/spec/integration/api/v2010/account/sip/domain_spec.rb +22 -22
  71. data/spec/integration/api/v2010/account/sip/ip_access_control_list/ip_address_spec.rb +33 -33
  72. data/spec/integration/api/v2010/account/sip/ip_access_control_list_spec.rb +22 -22
  73. data/spec/integration/api/v2010/account/token_spec.rb +3 -3
  74. data/spec/integration/api/v2010/account/transcription_spec.rb +14 -14
  75. data/spec/integration/api/v2010/account/usage/record/all_time_spec.rb +4 -4
  76. data/spec/integration/api/v2010/account/usage/record/daily_spec.rb +4 -4
  77. data/spec/integration/api/v2010/account/usage/record/last_month_spec.rb +4 -4
  78. data/spec/integration/api/v2010/account/usage/record/monthly_spec.rb +4 -4
  79. data/spec/integration/api/v2010/account/usage/record/this_month_spec.rb +4 -4
  80. data/spec/integration/api/v2010/account/usage/record/today_spec.rb +4 -4
  81. data/spec/integration/api/v2010/account/usage/record/yearly_spec.rb +4 -4
  82. data/spec/integration/api/v2010/account/usage/record/yesterday_spec.rb +4 -4
  83. data/spec/integration/api/v2010/account/usage/record_spec.rb +4 -4
  84. data/spec/integration/api/v2010/account/usage/trigger_spec.rb +22 -22
  85. data/spec/integration/api/v2010/account/validation_request_spec.rb +3 -3
  86. data/spec/integration/api/v2010/account_spec.rb +84 -68
  87. data/spec/integration/chat/v1/credential_spec.rb +9 -9
  88. data/spec/integration/chat/v1/service/channel/invite_spec.rb +26 -26
  89. data/spec/integration/chat/v1/service/channel/member_spec.rb +36 -36
  90. data/spec/integration/chat/v1/service/channel/message_spec.rb +35 -35
  91. data/spec/integration/chat/v1/service/channel_spec.rb +22 -22
  92. data/spec/integration/chat/v1/service/role_spec.rb +22 -22
  93. data/spec/integration/chat/v1/service/user/user_channel_spec.rb +7 -7
  94. data/spec/integration/chat/v1/service/user_spec.rb +22 -22
  95. data/spec/integration/chat/v1/service_spec.rb +9 -9
  96. data/spec/integration/chat/v2/credential_spec.rb +9 -9
  97. data/spec/integration/chat/v2/service/binding_spec.rb +14 -14
  98. data/spec/integration/chat/v2/service/channel/invite_spec.rb +26 -26
  99. data/spec/integration/chat/v2/service/channel/member_spec.rb +33 -33
  100. data/spec/integration/chat/v2/service/channel/message_spec.rb +40 -40
  101. data/spec/integration/chat/v2/service/channel_spec.rb +22 -22
  102. data/spec/integration/chat/v2/service/role_spec.rb +22 -22
  103. data/spec/integration/chat/v2/service/user/user_binding_spec.rb +21 -21
  104. data/spec/integration/chat/v2/service/user/user_channel_spec.rb +7 -7
  105. data/spec/integration/chat/v2/service/user_spec.rb +22 -22
  106. data/spec/integration/chat/v2/service_spec.rb +9 -9
  107. data/spec/integration/fax/v1/fax/fax_media_spec.rb +13 -13
  108. data/spec/integration/fax/v1/fax_spec.rb +9 -9
  109. data/spec/integration/ip_messaging/v1/credential_spec.rb +9 -9
  110. data/spec/integration/ip_messaging/v1/service/channel/invite_spec.rb +26 -26
  111. data/spec/integration/ip_messaging/v1/service/channel/member_spec.rb +36 -36
  112. data/spec/integration/ip_messaging/v1/service/channel/message_spec.rb +35 -35
  113. data/spec/integration/ip_messaging/v1/service/channel_spec.rb +22 -22
  114. data/spec/integration/ip_messaging/v1/service/role_spec.rb +22 -22
  115. data/spec/integration/ip_messaging/v1/service/user/user_channel_spec.rb +7 -7
  116. data/spec/integration/ip_messaging/v1/service/user_spec.rb +22 -22
  117. data/spec/integration/ip_messaging/v1/service_spec.rb +9 -9
  118. data/spec/integration/ip_messaging/v2/credential_spec.rb +9 -9
  119. data/spec/integration/ip_messaging/v2/service/binding_spec.rb +14 -14
  120. data/spec/integration/ip_messaging/v2/service/channel/invite_spec.rb +26 -26
  121. data/spec/integration/ip_messaging/v2/service/channel/member_spec.rb +33 -33
  122. data/spec/integration/ip_messaging/v2/service/channel/message_spec.rb +40 -40
  123. data/spec/integration/ip_messaging/v2/service/channel_spec.rb +22 -22
  124. data/spec/integration/ip_messaging/v2/service/role_spec.rb +22 -22
  125. data/spec/integration/ip_messaging/v2/service/user/user_binding_spec.rb +21 -21
  126. data/spec/integration/ip_messaging/v2/service/user/user_channel_spec.rb +7 -7
  127. data/spec/integration/ip_messaging/v2/service/user_spec.rb +22 -22
  128. data/spec/integration/ip_messaging/v2/service_spec.rb +9 -9
  129. data/spec/integration/lookups/v1/phone_number_spec.rb +0 -10
  130. data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +16 -16
  131. data/spec/integration/messaging/v1/service/phone_number_spec.rb +21 -21
  132. data/spec/integration/messaging/v1/service/short_code_spec.rb +19 -19
  133. data/spec/integration/messaging/v1/service_spec.rb +9 -9
  134. data/spec/integration/monitor/v1/alert_spec.rb +6 -6
  135. data/spec/integration/monitor/v1/event_spec.rb +3 -3
  136. data/spec/integration/notify/v1/credential_spec.rb +9 -9
  137. data/spec/integration/notify/v1/service/binding_spec.rb +17 -17
  138. data/spec/integration/notify/v1/service/notification_spec.rb +4 -4
  139. data/spec/integration/notify/v1/service/segment_spec.rb +4 -4
  140. data/spec/integration/notify/v1/service/user/segment_memberships_spec.rb +15 -15
  141. data/spec/integration/notify/v1/service/user/user_binding_spec.rb +28 -28
  142. data/spec/integration/notify/v1/service/user_spec.rb +17 -17
  143. data/spec/integration/notify/v1/service_spec.rb +9 -9
  144. data/spec/integration/preview/acc_security/service/verification_check_spec.rb +3 -3
  145. data/spec/integration/preview/acc_security/service/verification_spec.rb +3 -3
  146. data/spec/integration/preview/acc_security/service_spec.rb +6 -6
  147. data/spec/integration/preview/deployed_devices/fleet/certificate_spec.rb +22 -22
  148. data/spec/integration/preview/deployed_devices/fleet/deployment_spec.rb +22 -22
  149. data/spec/integration/preview/deployed_devices/fleet/device_spec.rb +22 -22
  150. data/spec/integration/preview/deployed_devices/fleet/key_spec.rb +22 -22
  151. data/spec/integration/preview/deployed_devices/fleet_spec.rb +9 -9
  152. data/spec/integration/preview/hosted_numbers/authorization_document/dependent_hosted_number_order_spec.rb +4 -4
  153. data/spec/integration/preview/hosted_numbers/authorization_document_spec.rb +9 -9
  154. data/spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb +9 -9
  155. data/spec/integration/preview/marketplace/available_add_on/available_add_on_extension_spec.rb +9 -9
  156. data/spec/integration/preview/marketplace/available_add_on_spec.rb +3 -3
  157. data/spec/integration/preview/marketplace/installed_add_on/installed_add_on_extension_spec.rb +14 -14
  158. data/spec/integration/preview/marketplace/installed_add_on_spec.rb +12 -12
  159. data/spec/integration/preview/proxy/service/phone_number_spec.rb +19 -19
  160. data/spec/integration/preview/proxy/service/session/interaction_spec.rb +12 -12
  161. data/spec/integration/preview/proxy/service/session/participant/message_interaction_spec.rb +23 -23
  162. data/spec/integration/preview/proxy/service/session/participant_spec.rb +31 -31
  163. data/spec/integration/preview/proxy/service/session_spec.rb +21 -21
  164. data/spec/integration/preview/proxy/service/short_code_spec.rb +19 -19
  165. data/spec/integration/preview/proxy/service_spec.rb +9 -9
  166. data/spec/integration/preview/studio/flow/engagement/step_spec.rb +12 -12
  167. data/spec/integration/preview/studio/flow/engagement_spec.rb +11 -11
  168. data/spec/integration/preview/studio/flow_spec.rb +6 -6
  169. data/spec/integration/preview/sync/service/document/document_permission_spec.rb +22 -22
  170. data/spec/integration/preview/sync/service/document_spec.rb +23 -23
  171. data/spec/integration/preview/sync/service/sync_list/sync_list_item_spec.rb +33 -33
  172. data/spec/integration/preview/sync/service/sync_list/sync_list_permission_spec.rb +22 -22
  173. data/spec/integration/preview/sync/service/sync_list_spec.rb +17 -17
  174. data/spec/integration/preview/sync/service/sync_map/sync_map_item_spec.rb +33 -33
  175. data/spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb +22 -22
  176. data/spec/integration/preview/sync/service/sync_map_spec.rb +17 -17
  177. data/spec/integration/preview/sync/service_spec.rb +9 -9
  178. data/spec/integration/preview/understand/assistant/field_type/field_value_spec.rb +208 -0
  179. data/spec/integration/preview/understand/{service → assistant}/field_type_spec.rb +38 -38
  180. data/spec/integration/preview/understand/{service → assistant}/intent/field_spec.rb +36 -36
  181. data/spec/integration/preview/understand/assistant/intent/sample_spec.rb +251 -0
  182. data/spec/integration/preview/understand/{service → assistant}/intent_spec.rb +42 -46
  183. data/spec/integration/preview/understand/{service → assistant}/model_build_spec.rb +34 -34
  184. data/spec/integration/preview/understand/{service → assistant}/query_spec.rb +42 -38
  185. data/spec/integration/preview/understand/{service_spec.rb → assistant_spec.rb} +57 -49
  186. data/spec/integration/preview/wireless/command_spec.rb +3 -3
  187. data/spec/integration/preview/wireless/rate_plan_spec.rb +9 -9
  188. data/spec/integration/preview/wireless/sim/usage_spec.rb +3 -3
  189. data/spec/integration/preview/wireless/sim_spec.rb +6 -6
  190. data/spec/integration/proxy/v1/service/phone_number_spec.rb +16 -16
  191. data/spec/integration/proxy/v1/service/session/interaction_spec.rb +19 -19
  192. data/spec/integration/proxy/v1/service/session/participant/message_interaction_spec.rb +23 -23
  193. data/spec/integration/proxy/v1/service/session/participant_spec.rb +31 -31
  194. data/spec/integration/proxy/v1/service/session_spec.rb +21 -21
  195. data/spec/integration/proxy/v1/service/short_code_spec.rb +19 -19
  196. data/spec/integration/proxy/v1/service_spec.rb +9 -9
  197. data/spec/integration/studio/v1/flow/engagement/engagement_context_spec.rb +5 -5
  198. data/spec/integration/studio/v1/flow/engagement/step/step_context_spec.rb +7 -7
  199. data/spec/integration/studio/v1/flow/engagement/step_spec.rb +12 -12
  200. data/spec/integration/studio/v1/flow/engagement_spec.rb +11 -11
  201. data/spec/integration/studio/v1/flow_spec.rb +6 -6
  202. data/spec/integration/sync/v1/service/document/document_permission_spec.rb +22 -22
  203. data/spec/integration/sync/v1/service/document_spec.rb +22 -22
  204. data/spec/integration/sync/v1/service/sync_list/sync_list_item_spec.rb +30 -30
  205. data/spec/integration/sync/v1/service/sync_list/sync_list_permission_spec.rb +22 -22
  206. data/spec/integration/sync/v1/service/sync_list_spec.rb +22 -22
  207. data/spec/integration/sync/v1/service/sync_map/sync_map_item_spec.rb +30 -30
  208. data/spec/integration/sync/v1/service/sync_map/sync_map_permission_spec.rb +22 -22
  209. data/spec/integration/sync/v1/service/sync_map_spec.rb +22 -22
  210. data/spec/integration/sync/v1/service/sync_stream/stream_message_spec.rb +8 -8
  211. data/spec/integration/sync/v1/service/sync_stream_spec.rb +22 -22
  212. data/spec/integration/sync/v1/service_spec.rb +9 -9
  213. data/spec/integration/taskrouter/v1/workspace/activity_spec.rb +22 -22
  214. data/spec/integration/taskrouter/v1/workspace/event_spec.rb +9 -9
  215. data/spec/integration/taskrouter/v1/workspace/task/reservation_spec.rb +21 -21
  216. data/spec/integration/taskrouter/v1/workspace/task_channel_spec.rb +9 -9
  217. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics_spec.rb +5 -5
  218. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics_spec.rb +5 -5
  219. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_statistics_spec.rb +5 -5
  220. data/spec/integration/taskrouter/v1/workspace/task_queue/task_queues_statistics_spec.rb +4 -4
  221. data/spec/integration/taskrouter/v1/workspace/task_queue_spec.rb +26 -26
  222. data/spec/integration/taskrouter/v1/workspace/task_spec.rb +23 -23
  223. data/spec/integration/taskrouter/v1/workspace/worker/reservation_spec.rb +21 -21
  224. data/spec/integration/taskrouter/v1/workspace/worker/worker_channel_spec.rb +21 -21
  225. data/spec/integration/taskrouter/v1/workspace/worker/worker_statistics_spec.rb +5 -5
  226. data/spec/integration/taskrouter/v1/workspace/worker/workers_cumulative_statistics_spec.rb +5 -5
  227. data/spec/integration/taskrouter/v1/workspace/worker/workers_real_time_statistics_spec.rb +5 -5
  228. data/spec/integration/taskrouter/v1/workspace/worker/workers_statistics_spec.rb +3 -3
  229. data/spec/integration/taskrouter/v1/workspace/worker_spec.rb +22 -22
  230. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics_spec.rb +5 -5
  231. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_real_time_statistics_spec.rb +5 -5
  232. data/spec/integration/taskrouter/v1/workspace/workflow/workflow_statistics_spec.rb +5 -5
  233. data/spec/integration/taskrouter/v1/workspace/workflow_spec.rb +22 -22
  234. data/spec/integration/taskrouter/v1/workspace/workspace_cumulative_statistics_spec.rb +3 -3
  235. data/spec/integration/taskrouter/v1/workspace/workspace_real_time_statistics_spec.rb +3 -3
  236. data/spec/integration/taskrouter/v1/workspace/workspace_statistics_spec.rb +3 -3
  237. data/spec/integration/taskrouter/v1/workspace_spec.rb +9 -9
  238. data/spec/integration/trunking/v1/trunk/credential_list_spec.rb +20 -20
  239. data/spec/integration/trunking/v1/trunk/ip_access_control_list_spec.rb +20 -20
  240. data/spec/integration/trunking/v1/trunk/origination_url_spec.rb +22 -22
  241. data/spec/integration/trunking/v1/trunk/phone_number_spec.rb +20 -20
  242. data/spec/integration/trunking/v1/trunk_spec.rb +9 -9
  243. data/spec/integration/video/v1/composition_spec.rb +6 -6
  244. data/spec/integration/video/v1/recording_spec.rb +10 -6
  245. data/spec/integration/video/v1/room/recording_spec.rb +9 -9
  246. data/spec/integration/video/v1/room/room_participant/room_participant_published_track_spec.rb +12 -12
  247. data/spec/integration/video/v1/room/room_participant/room_participant_subscribed_track_spec.rb +12 -12
  248. data/spec/integration/video/v1/room/room_participant_spec.rb +14 -14
  249. data/spec/integration/video/v1/room_spec.rb +6 -6
  250. data/spec/integration/wireless/v1/command_spec.rb +3 -3
  251. data/spec/integration/wireless/v1/rate_plan_spec.rb +9 -9
  252. data/spec/integration/wireless/v1/sim/data_session_spec.rb +3 -3
  253. data/spec/integration/wireless/v1/sim/usage_record_spec.rb +3 -3
  254. data/spec/integration/wireless/v1/sim_spec.rb +6 -6
  255. data/spec/jwt/access_token_spec.rb +2 -0
  256. metadata +26 -26
  257. data/spec/integration/preview/understand/service/field_type/field_value_spec.rb +0 -205
  258. data/spec/integration/preview/understand/service/intent/sample_spec.rb +0 -247
@@ -11,7 +11,7 @@ describe 'User' do
11
11
  @holodeck.mock(Twilio::Response.new(500, ''))
12
12
 
13
13
  expect {
14
- @client.notify.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
14
+ @client.notify.v1.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
15
15
  .users.create(identity: 'identity')
16
16
  }.to raise_exception(Twilio::REST::TwilioError)
17
17
 
@@ -19,7 +19,7 @@ describe 'User' do
19
19
  expect(
20
20
  @holodeck.has_request?(Holodeck::Request.new(
21
21
  method: 'post',
22
- url: 'https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users',
22
+ url: 'https://notify.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Users',
23
23
  data: values,
24
24
  ))).to eq(true)
25
25
  end
@@ -47,7 +47,7 @@ describe 'User' do
47
47
  ]
48
48
  ))
49
49
 
50
- actual = @client.notify.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
50
+ actual = @client.notify.v1.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
51
51
  .users.create(identity: 'identity')
52
52
 
53
53
  expect(actual).to_not eq(nil)
@@ -57,15 +57,15 @@ describe 'User' do
57
57
  @holodeck.mock(Twilio::Response.new(500, ''))
58
58
 
59
59
  expect {
60
- @client.notify.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
61
- .users('NUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
60
+ @client.notify.v1.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
61
+ .users('NUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
62
62
  }.to raise_exception(Twilio::REST::TwilioError)
63
63
 
64
64
  values = {}
65
65
  expect(
66
66
  @holodeck.has_request?(Holodeck::Request.new(
67
67
  method: 'delete',
68
- url: 'https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/NUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
68
+ url: 'https://notify.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Users/NUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
69
69
  ))).to eq(true)
70
70
  end
71
71
 
@@ -75,8 +75,8 @@ describe 'User' do
75
75
  nil,
76
76
  ))
77
77
 
78
- actual = @client.notify.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
79
- .users('NUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
78
+ actual = @client.notify.v1.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
79
+ .users('NUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
80
80
 
81
81
  expect(actual).to eq(true)
82
82
  end
@@ -85,15 +85,15 @@ describe 'User' do
85
85
  @holodeck.mock(Twilio::Response.new(500, ''))
86
86
 
87
87
  expect {
88
- @client.notify.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
89
- .users('NUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
88
+ @client.notify.v1.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
89
+ .users('NUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
90
90
  }.to raise_exception(Twilio::REST::TwilioError)
91
91
 
92
92
  values = {}
93
93
  expect(
94
94
  @holodeck.has_request?(Holodeck::Request.new(
95
95
  method: 'get',
96
- url: 'https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/NUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
96
+ url: 'https://notify.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Users/NUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
97
97
  ))).to eq(true)
98
98
  end
99
99
 
@@ -120,8 +120,8 @@ describe 'User' do
120
120
  ]
121
121
  ))
122
122
 
123
- actual = @client.notify.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
124
- .users('NUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
123
+ actual = @client.notify.v1.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
124
+ .users('NUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
125
125
 
126
126
  expect(actual).to_not eq(nil)
127
127
  end
@@ -130,7 +130,7 @@ describe 'User' do
130
130
  @holodeck.mock(Twilio::Response.new(500, ''))
131
131
 
132
132
  expect {
133
- @client.notify.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
133
+ @client.notify.v1.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
134
134
  .users.list()
135
135
  }.to raise_exception(Twilio::REST::TwilioError)
136
136
 
@@ -138,7 +138,7 @@ describe 'User' do
138
138
  expect(
139
139
  @holodeck.has_request?(Holodeck::Request.new(
140
140
  method: 'get',
141
- url: 'https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users',
141
+ url: 'https://notify.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Users',
142
142
  ))).to eq(true)
143
143
  end
144
144
 
@@ -161,7 +161,7 @@ describe 'User' do
161
161
  ]
162
162
  ))
163
163
 
164
- actual = @client.notify.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
164
+ actual = @client.notify.v1.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
165
165
  .users.list()
166
166
 
167
167
  expect(actual).to_not eq(nil)
@@ -203,7 +203,7 @@ describe 'User' do
203
203
  ]
204
204
  ))
205
205
 
206
- actual = @client.notify.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
206
+ actual = @client.notify.v1.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
207
207
  .users.list()
208
208
 
209
209
  expect(actual).to_not eq(nil)
@@ -64,14 +64,14 @@ describe 'Service' do
64
64
  @holodeck.mock(Twilio::Response.new(500, ''))
65
65
 
66
66
  expect {
67
- @client.notify.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
67
+ @client.notify.v1.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
68
68
  }.to raise_exception(Twilio::REST::TwilioError)
69
69
 
70
70
  values = {}
71
71
  expect(
72
72
  @holodeck.has_request?(Holodeck::Request.new(
73
73
  method: 'delete',
74
- url: 'https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
74
+ url: 'https://notify.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
75
75
  ))).to eq(true)
76
76
  end
77
77
 
@@ -81,7 +81,7 @@ describe 'Service' do
81
81
  nil,
82
82
  ))
83
83
 
84
- actual = @client.notify.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
84
+ actual = @client.notify.v1.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
85
85
 
86
86
  expect(actual).to eq(true)
87
87
  end
@@ -90,14 +90,14 @@ describe 'Service' do
90
90
  @holodeck.mock(Twilio::Response.new(500, ''))
91
91
 
92
92
  expect {
93
- @client.notify.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
93
+ @client.notify.v1.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
94
94
  }.to raise_exception(Twilio::REST::TwilioError)
95
95
 
96
96
  values = {}
97
97
  expect(
98
98
  @holodeck.has_request?(Holodeck::Request.new(
99
99
  method: 'get',
100
- url: 'https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
100
+ url: 'https://notify.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
101
101
  ))).to eq(true)
102
102
  end
103
103
 
@@ -134,7 +134,7 @@ describe 'Service' do
134
134
  ]
135
135
  ))
136
136
 
137
- actual = @client.notify.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
137
+ actual = @client.notify.v1.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
138
138
 
139
139
  expect(actual).to_not eq(nil)
140
140
  end
@@ -233,14 +233,14 @@ describe 'Service' do
233
233
  @holodeck.mock(Twilio::Response.new(500, ''))
234
234
 
235
235
  expect {
236
- @client.notify.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
236
+ @client.notify.v1.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
237
237
  }.to raise_exception(Twilio::REST::TwilioError)
238
238
 
239
239
  values = {}
240
240
  expect(
241
241
  @holodeck.has_request?(Holodeck::Request.new(
242
242
  method: 'post',
243
- url: 'https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
243
+ url: 'https://notify.twilio.com/v1/Services/ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
244
244
  ))).to eq(true)
245
245
  end
246
246
 
@@ -277,7 +277,7 @@ describe 'Service' do
277
277
  ]
278
278
  ))
279
279
 
280
- actual = @client.notify.v1.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
280
+ actual = @client.notify.v1.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
281
281
 
282
282
  expect(actual).to_not eq(nil)
283
283
  end
@@ -11,7 +11,7 @@ describe 'VerificationCheck' do
11
11
  @holodeck.mock(Twilio::Response.new(500, ''))
12
12
 
13
13
  expect {
14
- @client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
14
+ @client.preview.acc_security.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
15
15
  .verification_checks.create(code: 'code')
16
16
  }.to raise_exception(Twilio::REST::TwilioError)
17
17
 
@@ -19,7 +19,7 @@ describe 'VerificationCheck' do
19
19
  expect(
20
20
  @holodeck.has_request?(Holodeck::Request.new(
21
21
  method: 'post',
22
- url: 'https://preview.twilio.com/Verification/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/VerificationCheck',
22
+ url: 'https://preview.twilio.com/Verification/Services/VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/VerificationCheck',
23
23
  data: values,
24
24
  ))).to eq(true)
25
25
  end
@@ -42,7 +42,7 @@ describe 'VerificationCheck' do
42
42
  ]
43
43
  ))
44
44
 
45
- actual = @client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
45
+ actual = @client.preview.acc_security.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
46
46
  .verification_checks.create(code: 'code')
47
47
 
48
48
  expect(actual).to_not eq(nil)
@@ -11,7 +11,7 @@ describe 'Verification' do
11
11
  @holodeck.mock(Twilio::Response.new(500, ''))
12
12
 
13
13
  expect {
14
- @client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
14
+ @client.preview.acc_security.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
15
15
  .verifications.create(to: 'to', channel: 'channel')
16
16
  }.to raise_exception(Twilio::REST::TwilioError)
17
17
 
@@ -19,7 +19,7 @@ describe 'Verification' do
19
19
  expect(
20
20
  @holodeck.has_request?(Holodeck::Request.new(
21
21
  method: 'post',
22
- url: 'https://preview.twilio.com/Verification/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications',
22
+ url: 'https://preview.twilio.com/Verification/Services/VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Verifications',
23
23
  data: values,
24
24
  ))).to eq(true)
25
25
  end
@@ -42,7 +42,7 @@ describe 'Verification' do
42
42
  ]
43
43
  ))
44
44
 
45
- actual = @client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
45
+ actual = @client.preview.acc_security.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
46
46
  .verifications.create(to: 'to', channel: 'channel')
47
47
 
48
48
  expect(actual).to_not eq(nil)
@@ -52,14 +52,14 @@ describe 'Service' do
52
52
  @holodeck.mock(Twilio::Response.new(500, ''))
53
53
 
54
54
  expect {
55
- @client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
55
+ @client.preview.acc_security.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
56
56
  }.to raise_exception(Twilio::REST::TwilioError)
57
57
 
58
58
  values = {}
59
59
  expect(
60
60
  @holodeck.has_request?(Holodeck::Request.new(
61
61
  method: 'get',
62
- url: 'https://preview.twilio.com/Verification/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
62
+ url: 'https://preview.twilio.com/Verification/Services/VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
63
63
  ))).to eq(true)
64
64
  end
65
65
 
@@ -83,7 +83,7 @@ describe 'Service' do
83
83
  ]
84
84
  ))
85
85
 
86
- actual = @client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
86
+ actual = @client.preview.acc_security.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
87
87
 
88
88
  expect(actual).to_not eq(nil)
89
89
  end
@@ -145,14 +145,14 @@ describe 'Service' do
145
145
  @holodeck.mock(Twilio::Response.new(500, ''))
146
146
 
147
147
  expect {
148
- @client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
148
+ @client.preview.acc_security.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
149
149
  }.to raise_exception(Twilio::REST::TwilioError)
150
150
 
151
151
  values = {}
152
152
  expect(
153
153
  @holodeck.has_request?(Holodeck::Request.new(
154
154
  method: 'post',
155
- url: 'https://preview.twilio.com/Verification/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
155
+ url: 'https://preview.twilio.com/Verification/Services/VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
156
156
  ))).to eq(true)
157
157
  end
158
158
 
@@ -176,7 +176,7 @@ describe 'Service' do
176
176
  ]
177
177
  ))
178
178
 
179
- actual = @client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
179
+ actual = @client.preview.acc_security.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
180
180
 
181
181
  expect(actual).to_not eq(nil)
182
182
  end
@@ -11,15 +11,15 @@ describe 'Certificate' do
11
11
  @holodeck.mock(Twilio::Response.new(500, ''))
12
12
 
13
13
  expect {
14
- @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
15
- .certificates('CYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
14
+ @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
15
+ .certificates('CYXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
16
16
  }.to raise_exception(Twilio::REST::TwilioError)
17
17
 
18
18
  values = {}
19
19
  expect(
20
20
  @holodeck.has_request?(Holodeck::Request.new(
21
21
  method: 'get',
22
- url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Certificates/CYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
22
+ url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Certificates/CYXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
23
23
  ))).to eq(true)
24
24
  end
25
25
 
@@ -41,8 +41,8 @@ describe 'Certificate' do
41
41
  ]
42
42
  ))
43
43
 
44
- actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
45
- .certificates('CYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
44
+ actual = @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
45
+ .certificates('CYXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
46
46
 
47
47
  expect(actual).to_not eq(nil)
48
48
  end
@@ -51,15 +51,15 @@ describe 'Certificate' do
51
51
  @holodeck.mock(Twilio::Response.new(500, ''))
52
52
 
53
53
  expect {
54
- @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
55
- .certificates('CYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
54
+ @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
55
+ .certificates('CYXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
56
56
  }.to raise_exception(Twilio::REST::TwilioError)
57
57
 
58
58
  values = {}
59
59
  expect(
60
60
  @holodeck.has_request?(Holodeck::Request.new(
61
61
  method: 'delete',
62
- url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Certificates/CYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
62
+ url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Certificates/CYXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
63
63
  ))).to eq(true)
64
64
  end
65
65
 
@@ -69,8 +69,8 @@ describe 'Certificate' do
69
69
  nil,
70
70
  ))
71
71
 
72
- actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
73
- .certificates('CYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
72
+ actual = @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
73
+ .certificates('CYXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
74
74
 
75
75
  expect(actual).to eq(true)
76
76
  end
@@ -79,7 +79,7 @@ describe 'Certificate' do
79
79
  @holodeck.mock(Twilio::Response.new(500, ''))
80
80
 
81
81
  expect {
82
- @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
82
+ @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
83
83
  .certificates.create(certificate_data: 'certificate_data')
84
84
  }.to raise_exception(Twilio::REST::TwilioError)
85
85
 
@@ -87,7 +87,7 @@ describe 'Certificate' do
87
87
  expect(
88
88
  @holodeck.has_request?(Holodeck::Request.new(
89
89
  method: 'post',
90
- url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Certificates',
90
+ url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Certificates',
91
91
  data: values,
92
92
  ))).to eq(true)
93
93
  end
@@ -110,7 +110,7 @@ describe 'Certificate' do
110
110
  ]
111
111
  ))
112
112
 
113
- actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
113
+ actual = @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
114
114
  .certificates.create(certificate_data: 'certificate_data')
115
115
 
116
116
  expect(actual).to_not eq(nil)
@@ -120,7 +120,7 @@ describe 'Certificate' do
120
120
  @holodeck.mock(Twilio::Response.new(500, ''))
121
121
 
122
122
  expect {
123
- @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
123
+ @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
124
124
  .certificates.list()
125
125
  }.to raise_exception(Twilio::REST::TwilioError)
126
126
 
@@ -128,7 +128,7 @@ describe 'Certificate' do
128
128
  expect(
129
129
  @holodeck.has_request?(Holodeck::Request.new(
130
130
  method: 'get',
131
- url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Certificates',
131
+ url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Certificates',
132
132
  ))).to eq(true)
133
133
  end
134
134
 
@@ -151,7 +151,7 @@ describe 'Certificate' do
151
151
  ]
152
152
  ))
153
153
 
154
- actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
154
+ actual = @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
155
155
  .certificates.list()
156
156
 
157
157
  expect(actual).to_not eq(nil)
@@ -188,7 +188,7 @@ describe 'Certificate' do
188
188
  ]
189
189
  ))
190
190
 
191
- actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
191
+ actual = @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
192
192
  .certificates.list()
193
193
 
194
194
  expect(actual).to_not eq(nil)
@@ -198,15 +198,15 @@ describe 'Certificate' do
198
198
  @holodeck.mock(Twilio::Response.new(500, ''))
199
199
 
200
200
  expect {
201
- @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
202
- .certificates('CYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
201
+ @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
202
+ .certificates('CYXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
203
203
  }.to raise_exception(Twilio::REST::TwilioError)
204
204
 
205
205
  values = {}
206
206
  expect(
207
207
  @holodeck.has_request?(Holodeck::Request.new(
208
208
  method: 'post',
209
- url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Certificates/CYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
209
+ url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Certificates/CYXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
210
210
  ))).to eq(true)
211
211
  end
212
212
 
@@ -228,8 +228,8 @@ describe 'Certificate' do
228
228
  ]
229
229
  ))
230
230
 
231
- actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
232
- .certificates('CYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
231
+ actual = @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
232
+ .certificates('CYXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
233
233
 
234
234
  expect(actual).to_not eq(nil)
235
235
  end
@@ -11,15 +11,15 @@ describe 'Deployment' do
11
11
  @holodeck.mock(Twilio::Response.new(500, ''))
12
12
 
13
13
  expect {
14
- @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
15
- .deployments('DLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
14
+ @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
15
+ .deployments('DLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
16
16
  }.to raise_exception(Twilio::REST::TwilioError)
17
17
 
18
18
  values = {}
19
19
  expect(
20
20
  @holodeck.has_request?(Holodeck::Request.new(
21
21
  method: 'get',
22
- url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Deployments/DLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
22
+ url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Deployments/DLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
23
23
  ))).to eq(true)
24
24
  end
25
25
 
@@ -40,8 +40,8 @@ describe 'Deployment' do
40
40
  ]
41
41
  ))
42
42
 
43
- actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
44
- .deployments('DLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
43
+ actual = @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
44
+ .deployments('DLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
45
45
 
46
46
  expect(actual).to_not eq(nil)
47
47
  end
@@ -50,15 +50,15 @@ describe 'Deployment' do
50
50
  @holodeck.mock(Twilio::Response.new(500, ''))
51
51
 
52
52
  expect {
53
- @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
54
- .deployments('DLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
53
+ @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
54
+ .deployments('DLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
55
55
  }.to raise_exception(Twilio::REST::TwilioError)
56
56
 
57
57
  values = {}
58
58
  expect(
59
59
  @holodeck.has_request?(Holodeck::Request.new(
60
60
  method: 'delete',
61
- url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Deployments/DLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
61
+ url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Deployments/DLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
62
62
  ))).to eq(true)
63
63
  end
64
64
 
@@ -68,8 +68,8 @@ describe 'Deployment' do
68
68
  nil,
69
69
  ))
70
70
 
71
- actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
72
- .deployments('DLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
71
+ actual = @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
72
+ .deployments('DLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
73
73
 
74
74
  expect(actual).to eq(true)
75
75
  end
@@ -78,7 +78,7 @@ describe 'Deployment' do
78
78
  @holodeck.mock(Twilio::Response.new(500, ''))
79
79
 
80
80
  expect {
81
- @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
81
+ @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
82
82
  .deployments.create()
83
83
  }.to raise_exception(Twilio::REST::TwilioError)
84
84
 
@@ -86,7 +86,7 @@ describe 'Deployment' do
86
86
  expect(
87
87
  @holodeck.has_request?(Holodeck::Request.new(
88
88
  method: 'post',
89
- url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Deployments',
89
+ url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Deployments',
90
90
  ))).to eq(true)
91
91
  end
92
92
 
@@ -107,7 +107,7 @@ describe 'Deployment' do
107
107
  ]
108
108
  ))
109
109
 
110
- actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
110
+ actual = @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
111
111
  .deployments.create()
112
112
 
113
113
  expect(actual).to_not eq(nil)
@@ -117,7 +117,7 @@ describe 'Deployment' do
117
117
  @holodeck.mock(Twilio::Response.new(500, ''))
118
118
 
119
119
  expect {
120
- @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
120
+ @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
121
121
  .deployments.list()
122
122
  }.to raise_exception(Twilio::REST::TwilioError)
123
123
 
@@ -125,7 +125,7 @@ describe 'Deployment' do
125
125
  expect(
126
126
  @holodeck.has_request?(Holodeck::Request.new(
127
127
  method: 'get',
128
- url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Deployments',
128
+ url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Deployments',
129
129
  ))).to eq(true)
130
130
  end
131
131
 
@@ -148,7 +148,7 @@ describe 'Deployment' do
148
148
  ]
149
149
  ))
150
150
 
151
- actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
151
+ actual = @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
152
152
  .deployments.list()
153
153
 
154
154
  expect(actual).to_not eq(nil)
@@ -184,7 +184,7 @@ describe 'Deployment' do
184
184
  ]
185
185
  ))
186
186
 
187
- actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
187
+ actual = @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
188
188
  .deployments.list()
189
189
 
190
190
  expect(actual).to_not eq(nil)
@@ -194,15 +194,15 @@ describe 'Deployment' do
194
194
  @holodeck.mock(Twilio::Response.new(500, ''))
195
195
 
196
196
  expect {
197
- @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
198
- .deployments('DLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
197
+ @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
198
+ .deployments('DLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
199
199
  }.to raise_exception(Twilio::REST::TwilioError)
200
200
 
201
201
  values = {}
202
202
  expect(
203
203
  @holodeck.has_request?(Holodeck::Request.new(
204
204
  method: 'post',
205
- url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Deployments/DLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
205
+ url: 'https://preview.twilio.com/DeployedDevices/Fleets/FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Deployments/DLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
206
206
  ))).to eq(true)
207
207
  end
208
208
 
@@ -223,8 +223,8 @@ describe 'Deployment' do
223
223
  ]
224
224
  ))
225
225
 
226
- actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
227
- .deployments('DLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
226
+ actual = @client.preview.deployed_devices.fleets('FLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
227
+ .deployments('DLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
228
228
 
229
229
  expect(actual).to_not eq(nil)
230
230
  end