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 'Application' do
11
11
  @holodeck.mock(Twilio::Response.new(500, ''))
12
12
 
13
13
  expect {
14
- @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
14
+ @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
15
15
  .applications.create(friendly_name: 'friendly_name')
16
16
  }.to raise_exception(Twilio::REST::TwilioError)
17
17
 
@@ -19,7 +19,7 @@ describe 'Application' do
19
19
  expect(
20
20
  @holodeck.has_request?(Holodeck::Request.new(
21
21
  method: 'post',
22
- url: 'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Applications.json',
22
+ url: 'https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Applications.json',
23
23
  data: values,
24
24
  ))).to eq(true)
25
25
  end
@@ -53,7 +53,7 @@ describe 'Application' do
53
53
  ]
54
54
  ))
55
55
 
56
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
56
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
57
57
  .applications.create(friendly_name: 'friendly_name')
58
58
 
59
59
  expect(actual).to_not eq(nil)
@@ -63,15 +63,15 @@ describe 'Application' do
63
63
  @holodeck.mock(Twilio::Response.new(500, ''))
64
64
 
65
65
  expect {
66
- @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
67
- .applications('APaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
66
+ @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
67
+ .applications('APXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').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://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Applications/APaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json',
74
+ url: 'https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Applications/APXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json',
75
75
  ))).to eq(true)
76
76
  end
77
77
 
@@ -81,8 +81,8 @@ describe 'Application' do
81
81
  nil,
82
82
  ))
83
83
 
84
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
85
- .applications('APaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
84
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
85
+ .applications('APXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').delete()
86
86
 
87
87
  expect(actual).to eq(true)
88
88
  end
@@ -91,15 +91,15 @@ describe 'Application' do
91
91
  @holodeck.mock(Twilio::Response.new(500, ''))
92
92
 
93
93
  expect {
94
- @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
95
- .applications('APaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
94
+ @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
95
+ .applications('APXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
96
96
  }.to raise_exception(Twilio::REST::TwilioError)
97
97
 
98
98
  values = {}
99
99
  expect(
100
100
  @holodeck.has_request?(Holodeck::Request.new(
101
101
  method: 'get',
102
- url: 'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Applications/APaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json',
102
+ url: 'https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Applications/APXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json',
103
103
  ))).to eq(true)
104
104
  end
105
105
 
@@ -132,8 +132,8 @@ describe 'Application' do
132
132
  ]
133
133
  ))
134
134
 
135
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
136
- .applications('APaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
135
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
136
+ .applications('APXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
137
137
 
138
138
  expect(actual).to_not eq(nil)
139
139
  end
@@ -142,7 +142,7 @@ describe 'Application' do
142
142
  @holodeck.mock(Twilio::Response.new(500, ''))
143
143
 
144
144
  expect {
145
- @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
145
+ @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
146
146
  .applications.list()
147
147
  }.to raise_exception(Twilio::REST::TwilioError)
148
148
 
@@ -150,7 +150,7 @@ describe 'Application' do
150
150
  expect(
151
151
  @holodeck.has_request?(Holodeck::Request.new(
152
152
  method: 'get',
153
- url: 'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Applications.json',
153
+ url: 'https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Applications.json',
154
154
  ))).to eq(true)
155
155
  end
156
156
 
@@ -198,7 +198,7 @@ describe 'Application' do
198
198
  ]
199
199
  ))
200
200
 
201
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
201
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
202
202
  .applications.list()
203
203
 
204
204
  expect(actual).to_not eq(nil)
@@ -225,7 +225,7 @@ describe 'Application' do
225
225
  ]
226
226
  ))
227
227
 
228
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
228
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
229
229
  .applications.list()
230
230
 
231
231
  expect(actual).to_not eq(nil)
@@ -235,15 +235,15 @@ describe 'Application' do
235
235
  @holodeck.mock(Twilio::Response.new(500, ''))
236
236
 
237
237
  expect {
238
- @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
239
- .applications('APaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
238
+ @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
239
+ .applications('APXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
240
240
  }.to raise_exception(Twilio::REST::TwilioError)
241
241
 
242
242
  values = {}
243
243
  expect(
244
244
  @holodeck.has_request?(Holodeck::Request.new(
245
245
  method: 'post',
246
- url: 'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Applications/APaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json',
246
+ url: 'https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Applications/APXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json',
247
247
  ))).to eq(true)
248
248
  end
249
249
 
@@ -276,8 +276,8 @@ describe 'Application' do
276
276
  ]
277
277
  ))
278
278
 
279
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
280
- .applications('APaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
279
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
280
+ .applications('APXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
281
281
 
282
282
  expect(actual).to_not eq(nil)
283
283
  end
@@ -11,15 +11,15 @@ describe 'AuthorizedConnectApp' do
11
11
  @holodeck.mock(Twilio::Response.new(500, ''))
12
12
 
13
13
  expect {
14
- @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
15
- .authorized_connect_apps('CNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
14
+ @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
15
+ .authorized_connect_apps('CNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').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://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AuthorizedConnectApps/CNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json',
22
+ url: 'https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps/CNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json',
23
23
  ))).to eq(true)
24
24
  end
25
25
 
@@ -44,8 +44,8 @@ describe 'AuthorizedConnectApp' do
44
44
  ]
45
45
  ))
46
46
 
47
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
48
- .authorized_connect_apps('CNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
47
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
48
+ .authorized_connect_apps('CNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
49
49
 
50
50
  expect(actual).to_not eq(nil)
51
51
  end
@@ -54,7 +54,7 @@ describe 'AuthorizedConnectApp' do
54
54
  @holodeck.mock(Twilio::Response.new(500, ''))
55
55
 
56
56
  expect {
57
- @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
57
+ @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
58
58
  .authorized_connect_apps.list()
59
59
  }.to raise_exception(Twilio::REST::TwilioError)
60
60
 
@@ -62,7 +62,7 @@ describe 'AuthorizedConnectApp' do
62
62
  expect(
63
63
  @holodeck.has_request?(Holodeck::Request.new(
64
64
  method: 'get',
65
- url: 'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AuthorizedConnectApps.json',
65
+ url: 'https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AuthorizedConnectApps.json',
66
66
  ))).to eq(true)
67
67
  end
68
68
 
@@ -102,7 +102,7 @@ describe 'AuthorizedConnectApp' do
102
102
  ]
103
103
  ))
104
104
 
105
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
105
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
106
106
  .authorized_connect_apps.list()
107
107
 
108
108
  expect(actual).to_not eq(nil)
@@ -129,7 +129,7 @@ describe 'AuthorizedConnectApp' do
129
129
  ]
130
130
  ))
131
131
 
132
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
132
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
133
133
  .authorized_connect_apps.list()
134
134
 
135
135
  expect(actual).to_not eq(nil)
@@ -11,7 +11,7 @@ describe 'Local' do
11
11
  @holodeck.mock(Twilio::Response.new(500, ''))
12
12
 
13
13
  expect {
14
- @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
14
+ @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
15
15
  .available_phone_numbers('US') \
16
16
  .local.list()
17
17
  }.to raise_exception(Twilio::REST::TwilioError)
@@ -20,7 +20,7 @@ describe 'Local' do
20
20
  expect(
21
21
  @holodeck.has_request?(Holodeck::Request.new(
22
22
  method: 'get',
23
- url: 'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AvailablePhoneNumbers/US/Local.json',
23
+ url: 'https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AvailablePhoneNumbers/US/Local.json',
24
24
  ))).to eq(true)
25
25
  end
26
26
 
@@ -65,7 +65,7 @@ describe 'Local' do
65
65
  ]
66
66
  ))
67
67
 
68
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
68
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
69
69
  .available_phone_numbers('US') \
70
70
  .local.list()
71
71
 
@@ -92,7 +92,7 @@ describe 'Local' do
92
92
  ]
93
93
  ))
94
94
 
95
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
95
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
96
96
  .available_phone_numbers('US') \
97
97
  .local.list()
98
98
 
@@ -11,7 +11,7 @@ describe 'MachineToMachine' do
11
11
  @holodeck.mock(Twilio::Response.new(500, ''))
12
12
 
13
13
  expect {
14
- @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
14
+ @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
15
15
  .available_phone_numbers('US') \
16
16
  .machine_to_machine.list()
17
17
  }.to raise_exception(Twilio::REST::TwilioError)
@@ -20,7 +20,7 @@ describe 'MachineToMachine' do
20
20
  expect(
21
21
  @holodeck.has_request?(Holodeck::Request.new(
22
22
  method: 'get',
23
- url: 'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AvailablePhoneNumbers/US/MachineToMachine.json',
23
+ url: 'https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AvailablePhoneNumbers/US/MachineToMachine.json',
24
24
  ))).to eq(true)
25
25
  end
26
26
 
@@ -65,7 +65,7 @@ describe 'MachineToMachine' do
65
65
  ]
66
66
  ))
67
67
 
68
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
68
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
69
69
  .available_phone_numbers('US') \
70
70
  .machine_to_machine.list()
71
71
 
@@ -92,7 +92,7 @@ describe 'MachineToMachine' do
92
92
  ]
93
93
  ))
94
94
 
95
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
95
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
96
96
  .available_phone_numbers('US') \
97
97
  .machine_to_machine.list()
98
98
 
@@ -11,7 +11,7 @@ describe 'Mobile' do
11
11
  @holodeck.mock(Twilio::Response.new(500, ''))
12
12
 
13
13
  expect {
14
- @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
14
+ @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
15
15
  .available_phone_numbers('US') \
16
16
  .mobile.list()
17
17
  }.to raise_exception(Twilio::REST::TwilioError)
@@ -20,7 +20,7 @@ describe 'Mobile' do
20
20
  expect(
21
21
  @holodeck.has_request?(Holodeck::Request.new(
22
22
  method: 'get',
23
- url: 'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AvailablePhoneNumbers/US/Mobile.json',
23
+ url: 'https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AvailablePhoneNumbers/US/Mobile.json',
24
24
  ))).to eq(true)
25
25
  end
26
26
 
@@ -64,7 +64,7 @@ describe 'Mobile' do
64
64
  ]
65
65
  ))
66
66
 
67
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
67
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
68
68
  .available_phone_numbers('US') \
69
69
  .mobile.list()
70
70
 
@@ -91,7 +91,7 @@ describe 'Mobile' do
91
91
  ]
92
92
  ))
93
93
 
94
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
94
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
95
95
  .available_phone_numbers('US') \
96
96
  .mobile.list()
97
97
 
@@ -11,7 +11,7 @@ describe 'National' do
11
11
  @holodeck.mock(Twilio::Response.new(500, ''))
12
12
 
13
13
  expect {
14
- @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
14
+ @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
15
15
  .available_phone_numbers('US') \
16
16
  .national.list()
17
17
  }.to raise_exception(Twilio::REST::TwilioError)
@@ -20,7 +20,7 @@ describe 'National' do
20
20
  expect(
21
21
  @holodeck.has_request?(Holodeck::Request.new(
22
22
  method: 'get',
23
- url: 'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AvailablePhoneNumbers/US/National.json',
23
+ url: 'https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AvailablePhoneNumbers/US/National.json',
24
24
  ))).to eq(true)
25
25
  end
26
26
 
@@ -65,7 +65,7 @@ describe 'National' do
65
65
  ]
66
66
  ))
67
67
 
68
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
68
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
69
69
  .available_phone_numbers('US') \
70
70
  .national.list()
71
71
 
@@ -92,7 +92,7 @@ describe 'National' do
92
92
  ]
93
93
  ))
94
94
 
95
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
95
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
96
96
  .available_phone_numbers('US') \
97
97
  .national.list()
98
98
 
@@ -11,7 +11,7 @@ describe 'SharedCost' do
11
11
  @holodeck.mock(Twilio::Response.new(500, ''))
12
12
 
13
13
  expect {
14
- @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
14
+ @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
15
15
  .available_phone_numbers('US') \
16
16
  .shared_cost.list()
17
17
  }.to raise_exception(Twilio::REST::TwilioError)
@@ -20,7 +20,7 @@ describe 'SharedCost' do
20
20
  expect(
21
21
  @holodeck.has_request?(Holodeck::Request.new(
22
22
  method: 'get',
23
- url: 'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AvailablePhoneNumbers/US/SharedCost.json',
23
+ url: 'https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AvailablePhoneNumbers/US/SharedCost.json',
24
24
  ))).to eq(true)
25
25
  end
26
26
 
@@ -65,7 +65,7 @@ describe 'SharedCost' do
65
65
  ]
66
66
  ))
67
67
 
68
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
68
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
69
69
  .available_phone_numbers('US') \
70
70
  .shared_cost.list()
71
71
 
@@ -92,7 +92,7 @@ describe 'SharedCost' do
92
92
  ]
93
93
  ))
94
94
 
95
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
95
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
96
96
  .available_phone_numbers('US') \
97
97
  .shared_cost.list()
98
98
 
@@ -11,7 +11,7 @@ describe 'TollFree' do
11
11
  @holodeck.mock(Twilio::Response.new(500, ''))
12
12
 
13
13
  expect {
14
- @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
14
+ @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
15
15
  .available_phone_numbers('US') \
16
16
  .toll_free.list()
17
17
  }.to raise_exception(Twilio::REST::TwilioError)
@@ -20,7 +20,7 @@ describe 'TollFree' do
20
20
  expect(
21
21
  @holodeck.has_request?(Holodeck::Request.new(
22
22
  method: 'get',
23
- url: 'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AvailablePhoneNumbers/US/TollFree.json',
23
+ url: 'https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AvailablePhoneNumbers/US/TollFree.json',
24
24
  ))).to eq(true)
25
25
  end
26
26
 
@@ -64,7 +64,7 @@ describe 'TollFree' do
64
64
  ]
65
65
  ))
66
66
 
67
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
67
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
68
68
  .available_phone_numbers('US') \
69
69
  .toll_free.list()
70
70
 
@@ -91,7 +91,7 @@ describe 'TollFree' do
91
91
  ]
92
92
  ))
93
93
 
94
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
94
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
95
95
  .available_phone_numbers('US') \
96
96
  .toll_free.list()
97
97
 
@@ -11,7 +11,7 @@ describe 'Voip' do
11
11
  @holodeck.mock(Twilio::Response.new(500, ''))
12
12
 
13
13
  expect {
14
- @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
14
+ @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
15
15
  .available_phone_numbers('US') \
16
16
  .voip.list()
17
17
  }.to raise_exception(Twilio::REST::TwilioError)
@@ -20,7 +20,7 @@ describe 'Voip' do
20
20
  expect(
21
21
  @holodeck.has_request?(Holodeck::Request.new(
22
22
  method: 'get',
23
- url: 'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AvailablePhoneNumbers/US/Voip.json',
23
+ url: 'https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AvailablePhoneNumbers/US/Voip.json',
24
24
  ))).to eq(true)
25
25
  end
26
26
 
@@ -65,7 +65,7 @@ describe 'Voip' do
65
65
  ]
66
66
  ))
67
67
 
68
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
68
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
69
69
  .available_phone_numbers('US') \
70
70
  .voip.list()
71
71
 
@@ -92,7 +92,7 @@ describe 'Voip' do
92
92
  ]
93
93
  ))
94
94
 
95
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
95
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
96
96
  .available_phone_numbers('US') \
97
97
  .voip.list()
98
98