twilio-ruby 5.6.3 → 5.6.4
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.
- checksums.yaml +4 -4
- data/CHANGES.md +18 -0
- data/README.md +2 -2
- data/examples/print_call_log.rb +1 -1
- data/lib/twilio-ruby/jwt/client_capability.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account.rb +6 -1
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +12 -2
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +12 -2
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +12 -2
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +6 -1
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +5 -1
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +5 -1
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +12 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +6 -1
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +6 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +6 -1
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +6 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +6 -1
- data/lib/twilio-ruby/rest/notify/v1/service/user.rb +6 -1
- data/lib/twilio-ruby/rest/notify/v1/service/user/user_binding.rb +6 -1
- data/lib/twilio-ruby/rest/preview/proxy/service/phone_number.rb +6 -1
- data/lib/twilio-ruby/rest/preview/understand/service/intent.rb +5 -1
- data/lib/twilio-ruby/rest/preview/understand/service/model_build.rb +12 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +6 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +12 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +12 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +12 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +6 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +6 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +12 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +10 -2
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +6 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +12 -2
- data/lib/twilio-ruby/rest/video/v1/composition.rb +5 -1
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +7 -1
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/integration/accounts/v1/credential/aws_spec.rb +9 -9
- data/spec/integration/accounts/v1/credential/public_key_spec.rb +9 -9
- data/spec/integration/api/v2010/account/address/dependent_phone_number_spec.rb +6 -6
- data/spec/integration/api/v2010/account/address_spec.rb +25 -25
- data/spec/integration/api/v2010/account/application_spec.rb +20 -20
- data/spec/integration/api/v2010/account/authorized_connect_app_spec.rb +7 -7
- data/spec/integration/api/v2010/account/available_phone_number/local_spec.rb +6 -6
- data/spec/integration/api/v2010/account/available_phone_number/machine_to_machine_spec.rb +6 -6
- data/spec/integration/api/v2010/account/available_phone_number/mobile_spec.rb +6 -6
- data/spec/integration/api/v2010/account/available_phone_number/national_spec.rb +6 -6
- data/spec/integration/api/v2010/account/available_phone_number/shared_cost_spec.rb +6 -6
- data/spec/integration/api/v2010/account/available_phone_number/toll_free_spec.rb +6 -6
- data/spec/integration/api/v2010/account/available_phone_number/voip_spec.rb +6 -6
- data/spec/integration/api/v2010/account/available_phone_number_spec.rb +7 -7
- data/spec/integration/api/v2010/account/call/feedback_spec.rb +12 -12
- data/spec/integration/api/v2010/account/call/feedback_summary_spec.rb +10 -10
- data/spec/integration/api/v2010/account/call/notification_spec.rb +18 -18
- data/spec/integration/api/v2010/account/call/recording_spec.rb +18 -18
- data/spec/integration/api/v2010/account/call_spec.rb +20 -20
- data/spec/integration/api/v2010/account/conference/participant_spec.rb +34 -34
- data/spec/integration/api/v2010/account/conference_spec.rb +11 -11
- data/spec/integration/api/v2010/account/connect_app_spec.rb +11 -11
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension_spec.rb +17 -17
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on_spec.rb +25 -25
- data/spec/integration/api/v2010/account/incoming_phone_number/local_spec.rb +8 -8
- data/spec/integration/api/v2010/account/incoming_phone_number/mobile_spec.rb +8 -8
- data/spec/integration/api/v2010/account/incoming_phone_number/toll_free_spec.rb +8 -8
- data/spec/integration/api/v2010/account/incoming_phone_number_spec.rb +17 -17
- data/spec/integration/api/v2010/account/key_spec.rb +15 -15
- data/spec/integration/api/v2010/account/message/feedback_spec.rb +4 -4
- data/spec/integration/api/v2010/account/message/media_spec.rb +18 -18
- data/spec/integration/api/v2010/account/message_spec.rb +21 -21
- data/spec/integration/api/v2010/account/new_key_spec.rb +2 -2
- data/spec/integration/api/v2010/account/new_signing_key_spec.rb +2 -2
- data/spec/integration/api/v2010/account/notification_spec.rb +11 -11
- data/spec/integration/api/v2010/account/outgoing_caller_id_spec.rb +15 -15
- data/spec/integration/api/v2010/account/queue/member_spec.rb +19 -19
- data/spec/integration/api/v2010/account/queue_spec.rb +20 -20
- data/spec/integration/api/v2010/account/recording/add_on_result/payload_spec.rb +25 -25
- data/spec/integration/api/v2010/account/recording/add_on_result_spec.rb +18 -18
- data/spec/integration/api/v2010/account/recording/transcription_spec.rb +18 -18
- data/spec/integration/api/v2010/account/recording_spec.rb +11 -11
- data/spec/integration/api/v2010/account/short_code_spec.rb +11 -11
- data/spec/integration/api/v2010/account/signing_key_spec.rb +15 -15
- data/spec/integration/api/v2010/account/sip/credential_list/credential_spec.rb +31 -31
- data/spec/integration/api/v2010/account/sip/credential_list_spec.rb +21 -21
- data/spec/integration/api/v2010/account/sip/domain/credential_list_mapping_spec.rb +25 -25
- data/spec/integration/api/v2010/account/sip/domain/ip_access_control_list_mapping_spec.rb +25 -25
- data/spec/integration/api/v2010/account/sip/domain_spec.rb +20 -20
- data/spec/integration/api/v2010/account/sip/ip_access_control_list/ip_address_spec.rb +31 -31
- data/spec/integration/api/v2010/account/sip/ip_access_control_list_spec.rb +21 -21
- data/spec/integration/api/v2010/account/token_spec.rb +2 -2
- data/spec/integration/api/v2010/account/transcription_spec.rb +11 -11
- data/spec/integration/api/v2010/account/usage/record/all_time_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/record/daily_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/record/last_month_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/record/monthly_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/record/this_month_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/record/today_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/record/yearly_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/record/yesterday_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/record_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/trigger_spec.rb +22 -22
- data/spec/integration/api/v2010/account/validation_request_spec.rb +5 -5
- data/spec/integration/api/v2010/account_spec.rb +4 -4
- data/spec/integration/chat/v1/credential_spec.rb +9 -9
- data/spec/integration/chat/v1/service/channel/invite_spec.rb +25 -25
- data/spec/integration/chat/v1/service/channel/member_spec.rb +34 -34
- data/spec/integration/chat/v1/service/channel/message_spec.rb +34 -34
- data/spec/integration/chat/v1/service/channel_spec.rb +17 -17
- data/spec/integration/chat/v1/service/role_spec.rb +21 -21
- data/spec/integration/chat/v1/service/user/user_channel_spec.rb +6 -6
- data/spec/integration/chat/v1/service/user_spec.rb +20 -20
- data/spec/integration/chat/v1/service_spec.rb +9 -9
- data/spec/integration/chat/v2/credential_spec.rb +9 -9
- data/spec/integration/chat/v2/service/binding_spec.rb +11 -11
- data/spec/integration/chat/v2/service/channel/invite_spec.rb +25 -25
- data/spec/integration/chat/v2/service/channel/member_spec.rb +31 -31
- data/spec/integration/chat/v2/service/channel/message_spec.rb +35 -35
- data/spec/integration/chat/v2/service/channel_spec.rb +17 -17
- data/spec/integration/chat/v2/service/role_spec.rb +21 -21
- data/spec/integration/chat/v2/service/user/user_binding_spec.rb +18 -18
- data/spec/integration/chat/v2/service/user/user_channel_spec.rb +6 -6
- data/spec/integration/chat/v2/service/user_spec.rb +20 -20
- data/spec/integration/chat/v2/service_spec.rb +9 -9
- data/spec/integration/fax/v1/fax/fax_media_spec.rb +10 -10
- data/spec/integration/fax/v1/fax_spec.rb +9 -9
- data/spec/integration/ip_messaging/v1/credential_spec.rb +9 -9
- data/spec/integration/ip_messaging/v1/service/channel/invite_spec.rb +25 -25
- data/spec/integration/ip_messaging/v1/service/channel/member_spec.rb +34 -34
- data/spec/integration/ip_messaging/v1/service/channel/message_spec.rb +34 -34
- data/spec/integration/ip_messaging/v1/service/channel_spec.rb +17 -17
- data/spec/integration/ip_messaging/v1/service/role_spec.rb +21 -21
- data/spec/integration/ip_messaging/v1/service/user/user_channel_spec.rb +6 -6
- data/spec/integration/ip_messaging/v1/service/user_spec.rb +20 -20
- data/spec/integration/ip_messaging/v1/service_spec.rb +9 -9
- data/spec/integration/ip_messaging/v2/credential_spec.rb +9 -9
- data/spec/integration/ip_messaging/v2/service/binding_spec.rb +11 -11
- data/spec/integration/ip_messaging/v2/service/channel/invite_spec.rb +25 -25
- data/spec/integration/ip_messaging/v2/service/channel/member_spec.rb +31 -31
- data/spec/integration/ip_messaging/v2/service/channel/message_spec.rb +35 -35
- data/spec/integration/ip_messaging/v2/service/channel_spec.rb +17 -17
- data/spec/integration/ip_messaging/v2/service/role_spec.rb +21 -21
- data/spec/integration/ip_messaging/v2/service/user/user_binding_spec.rb +18 -18
- data/spec/integration/ip_messaging/v2/service/user/user_channel_spec.rb +6 -6
- data/spec/integration/ip_messaging/v2/service/user_spec.rb +20 -20
- data/spec/integration/ip_messaging/v2/service_spec.rb +9 -9
- data/spec/integration/lookups/v1/phone_number_spec.rb +12 -2
- data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +15 -15
- data/spec/integration/messaging/v1/service/phone_number_spec.rb +17 -17
- data/spec/integration/messaging/v1/service/short_code_spec.rb +15 -15
- data/spec/integration/messaging/v1/service_spec.rb +9 -9
- data/spec/integration/monitor/v1/alert_spec.rb +4 -4
- data/spec/integration/monitor/v1/event_spec.rb +2 -2
- data/spec/integration/notify/v1/credential_spec.rb +9 -9
- data/spec/integration/notify/v1/service/binding_spec.rb +16 -16
- data/spec/integration/notify/v1/service/notification_spec.rb +3 -3
- data/spec/integration/notify/v1/service/segment_spec.rb +3 -3
- data/spec/integration/notify/v1/service/user/segment_memberships_spec.rb +19 -19
- data/spec/integration/notify/v1/service/user/user_binding_spec.rb +28 -28
- data/spec/integration/notify/v1/service/user_spec.rb +16 -16
- data/spec/integration/notify/v1/service_spec.rb +6 -6
- data/spec/integration/preview/acc_security/service/verification_check_spec.rb +5 -5
- data/spec/integration/preview/acc_security/service/verification_spec.rb +5 -5
- data/spec/integration/preview/acc_security/service_spec.rb +7 -7
- data/spec/integration/preview/bulk_exports/export/day_spec.rb +2 -2
- data/spec/integration/preview/bulk_exports/export_configuration_spec.rb +4 -4
- data/spec/integration/preview/bulk_exports/export_spec.rb +2 -2
- data/spec/integration/preview/deployed_devices/fleet/certificate_spec.rb +20 -20
- data/spec/integration/preview/deployed_devices/fleet/deployment_spec.rb +17 -17
- data/spec/integration/preview/deployed_devices/fleet/device_spec.rb +17 -17
- data/spec/integration/preview/deployed_devices/fleet/key_spec.rb +17 -17
- data/spec/integration/preview/deployed_devices/fleet_spec.rb +6 -6
- data/spec/integration/preview/hosted_numbers/authorization_document/dependent_hosted_number_order_spec.rb +3 -3
- data/spec/integration/preview/hosted_numbers/authorization_document_spec.rb +8 -8
- data/spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb +11 -11
- data/spec/integration/preview/marketplace/available_add_on/available_add_on_extension_spec.rb +7 -7
- data/spec/integration/preview/marketplace/available_add_on_spec.rb +2 -2
- data/spec/integration/preview/marketplace/installed_add_on/installed_add_on_extension_spec.rb +11 -11
- data/spec/integration/preview/marketplace/installed_add_on_spec.rb +9 -9
- data/spec/integration/preview/proxy/service/phone_number_spec.rb +15 -15
- data/spec/integration/preview/proxy/service/session/interaction_spec.rb +10 -10
- data/spec/integration/preview/proxy/service/session/participant/message_interaction_spec.rb +20 -20
- data/spec/integration/preview/proxy/service/session/participant_spec.rb +29 -29
- data/spec/integration/preview/proxy/service/session_spec.rb +16 -16
- data/spec/integration/preview/proxy/service/short_code_spec.rb +15 -15
- data/spec/integration/preview/proxy/service_spec.rb +6 -6
- data/spec/integration/preview/studio/flow/engagement/step_spec.rb +10 -10
- data/spec/integration/preview/studio/flow/engagement_spec.rb +11 -11
- data/spec/integration/preview/studio/flow_spec.rb +4 -4
- data/spec/integration/preview/sync/service/document/document_permission_spec.rb +24 -24
- data/spec/integration/preview/sync/service/document_spec.rb +18 -18
- data/spec/integration/preview/sync/service/sync_list/sync_list_item_spec.rb +28 -28
- data/spec/integration/preview/sync/service/sync_list/sync_list_permission_spec.rb +24 -24
- data/spec/integration/preview/sync/service/sync_list_spec.rb +13 -13
- data/spec/integration/preview/sync/service/sync_map/sync_map_item_spec.rb +32 -32
- data/spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb +24 -24
- data/spec/integration/preview/sync/service/sync_map_spec.rb +13 -13
- data/spec/integration/preview/sync/service_spec.rb +6 -6
- data/spec/integration/preview/understand/service/field_type/field_value_spec.rb +25 -25
- data/spec/integration/preview/understand/service/field_type_spec.rb +20 -20
- data/spec/integration/preview/understand/service/intent/field_spec.rb +25 -25
- data/spec/integration/preview/understand/service/intent/sample_spec.rb +31 -31
- data/spec/integration/preview/understand/service/intent_spec.rb +20 -20
- data/spec/integration/preview/understand/service/model_build_spec.rb +17 -17
- data/spec/integration/preview/understand/service/query_spec.rb +20 -20
- data/spec/integration/preview/understand/service_spec.rb +6 -6
- data/spec/integration/preview/wireless/command_spec.rb +5 -5
- data/spec/integration/preview/wireless/rate_plan_spec.rb +6 -6
- data/spec/integration/preview/wireless/sim/usage_spec.rb +2 -2
- data/spec/integration/preview/wireless/sim_spec.rb +4 -4
- data/spec/integration/pricing/v1/messaging/country_spec.rb +2 -2
- data/spec/integration/pricing/v1/phone_number/country_spec.rb +2 -2
- data/spec/integration/pricing/v1/voice/country_spec.rb +2 -2
- data/spec/integration/pricing/v1/voice/number_spec.rb +2 -2
- data/spec/integration/proxy/v1/service/phone_number_spec.rb +12 -12
- data/spec/integration/proxy/v1/service/session/interaction_spec.rb +16 -16
- data/spec/integration/proxy/v1/service/session/participant/message_interaction_spec.rb +20 -20
- data/spec/integration/proxy/v1/service/session/participant_spec.rb +29 -29
- data/spec/integration/proxy/v1/service/session_spec.rb +16 -16
- data/spec/integration/proxy/v1/service/short_code_spec.rb +15 -15
- data/spec/integration/proxy/v1/service_spec.rb +9 -9
- data/spec/integration/studio/v1/flow/engagement/step_spec.rb +10 -10
- data/spec/integration/studio/v1/flow/engagement_spec.rb +11 -11
- data/spec/integration/studio/v1/flow_spec.rb +4 -4
- data/spec/integration/sync/v1/service/document/document_permission_spec.rb +24 -24
- data/spec/integration/sync/v1/service/document_spec.rb +17 -17
- data/spec/integration/sync/v1/service/sync_list/sync_list_item_spec.rb +25 -25
- data/spec/integration/sync/v1/service/sync_list/sync_list_permission_spec.rb +24 -24
- data/spec/integration/sync/v1/service/sync_list_spec.rb +17 -17
- data/spec/integration/sync/v1/service/sync_map/sync_map_item_spec.rb +31 -31
- data/spec/integration/sync/v1/service/sync_map/sync_map_permission_spec.rb +24 -24
- data/spec/integration/sync/v1/service/sync_map_spec.rb +17 -17
- data/spec/integration/sync/v1/service/sync_stream/stream_message_spec.rb +7 -7
- data/spec/integration/sync/v1/service/sync_stream_spec.rb +17 -17
- data/spec/integration/sync/v1/service_spec.rb +6 -6
- data/spec/integration/taskrouter/v1/workspace/activity_spec.rb +20 -20
- data/spec/integration/taskrouter/v1/workspace/event_spec.rb +7 -7
- data/spec/integration/taskrouter/v1/workspace/task/reservation_spec.rb +18 -18
- data/spec/integration/taskrouter/v1/workspace/task_channel_spec.rb +7 -7
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics_spec.rb +4 -4
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics_spec.rb +4 -4
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_statistics_spec.rb +4 -4
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queues_statistics_spec.rb +3 -3
- data/spec/integration/taskrouter/v1/workspace/task_queue_spec.rb +22 -22
- data/spec/integration/taskrouter/v1/workspace/task_spec.rb +18 -18
- data/spec/integration/taskrouter/v1/workspace/worker/reservation_spec.rb +18 -18
- data/spec/integration/taskrouter/v1/workspace/worker/worker_channel_spec.rb +18 -18
- data/spec/integration/taskrouter/v1/workspace/worker/worker_statistics_spec.rb +4 -4
- data/spec/integration/taskrouter/v1/workspace/worker/workers_cumulative_statistics_spec.rb +4 -4
- data/spec/integration/taskrouter/v1/workspace/worker/workers_real_time_statistics_spec.rb +4 -4
- data/spec/integration/taskrouter/v1/workspace/worker/workers_statistics_spec.rb +2 -2
- data/spec/integration/taskrouter/v1/workspace/worker_spec.rb +20 -20
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics_spec.rb +4 -4
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_real_time_statistics_spec.rb +4 -4
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_statistics_spec.rb +4 -4
- data/spec/integration/taskrouter/v1/workspace/workflow_spec.rb +20 -20
- data/spec/integration/taskrouter/v1/workspace/workspace_cumulative_statistics_spec.rb +2 -2
- data/spec/integration/taskrouter/v1/workspace/workspace_real_time_statistics_spec.rb +2 -2
- data/spec/integration/taskrouter/v1/workspace/workspace_statistics_spec.rb +2 -2
- data/spec/integration/taskrouter/v1/workspace_spec.rb +9 -9
- data/spec/integration/trunking/v1/trunk/credential_list_spec.rb +16 -16
- data/spec/integration/trunking/v1/trunk/ip_access_control_list_spec.rb +16 -16
- data/spec/integration/trunking/v1/trunk/origination_url_spec.rb +21 -21
- data/spec/integration/trunking/v1/trunk/phone_number_spec.rb +16 -16
- data/spec/integration/trunking/v1/trunk_spec.rb +6 -6
- data/spec/integration/video/v1/composition_spec.rb +4 -4
- data/spec/integration/video/v1/recording_spec.rb +4 -4
- data/spec/integration/video/v1/room/recording_spec.rb +7 -7
- data/spec/integration/video/v1/room/room_participant/room_participant_published_track_spec.rb +10 -10
- data/spec/integration/video/v1/room/room_participant/room_participant_subscribed_track_spec.rb +10 -10
- data/spec/integration/video/v1/room/room_participant_spec.rb +11 -11
- data/spec/integration/video/v1/room_spec.rb +5 -5
- data/spec/integration/wireless/v1/command_spec.rb +5 -5
- data/spec/integration/wireless/v1/rate_plan_spec.rb +6 -6
- data/spec/integration/wireless/v1/sim/data_session_spec.rb +2 -2
- data/spec/integration/wireless/v1/sim/usage_record_spec.rb +2 -2
- data/spec/integration/wireless/v1/sim_spec.rb +4 -4
- metadata +2 -2
|
@@ -11,8 +11,8 @@ describe 'Query' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.understand.services(
|
|
15
|
-
.queries(
|
|
14
|
+
@client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
|
+
.queries('UHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
17
17
|
|
|
18
18
|
values = {}
|
|
@@ -57,8 +57,8 @@ describe 'Query' do
|
|
|
57
57
|
]
|
|
58
58
|
))
|
|
59
59
|
|
|
60
|
-
actual = @client.preview.understand.services(
|
|
61
|
-
.queries(
|
|
60
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
61
|
+
.queries('UHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
62
62
|
|
|
63
63
|
expect(actual).to_not eq(nil)
|
|
64
64
|
end
|
|
@@ -67,7 +67,7 @@ describe 'Query' do
|
|
|
67
67
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
68
68
|
|
|
69
69
|
expect {
|
|
70
|
-
@client.preview.understand.services(
|
|
70
|
+
@client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
71
71
|
.queries.list()
|
|
72
72
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
73
73
|
|
|
@@ -98,7 +98,7 @@ describe 'Query' do
|
|
|
98
98
|
]
|
|
99
99
|
))
|
|
100
100
|
|
|
101
|
-
actual = @client.preview.understand.services(
|
|
101
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
102
102
|
.queries.list()
|
|
103
103
|
|
|
104
104
|
expect(actual).to_not eq(nil)
|
|
@@ -151,7 +151,7 @@ describe 'Query' do
|
|
|
151
151
|
]
|
|
152
152
|
))
|
|
153
153
|
|
|
154
|
-
actual = @client.preview.understand.services(
|
|
154
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
155
155
|
.queries.list()
|
|
156
156
|
|
|
157
157
|
expect(actual).to_not eq(nil)
|
|
@@ -161,11 +161,11 @@ describe 'Query' do
|
|
|
161
161
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
162
162
|
|
|
163
163
|
expect {
|
|
164
|
-
@client.preview.understand.services(
|
|
165
|
-
.queries.create(language:
|
|
164
|
+
@client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
165
|
+
.queries.create(language: 'language', query: 'query')
|
|
166
166
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
167
167
|
|
|
168
|
-
values = {'Language' =>
|
|
168
|
+
values = {'Language' => 'language', 'Query' => 'query', }
|
|
169
169
|
expect(
|
|
170
170
|
@holodeck.has_request?(Holodeck::Request.new(
|
|
171
171
|
method: 'post',
|
|
@@ -208,8 +208,8 @@ describe 'Query' do
|
|
|
208
208
|
]
|
|
209
209
|
))
|
|
210
210
|
|
|
211
|
-
actual = @client.preview.understand.services(
|
|
212
|
-
.queries.create(language:
|
|
211
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
212
|
+
.queries.create(language: 'language', query: 'query')
|
|
213
213
|
|
|
214
214
|
expect(actual).to_not eq(nil)
|
|
215
215
|
end
|
|
@@ -218,8 +218,8 @@ describe 'Query' do
|
|
|
218
218
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
219
219
|
|
|
220
220
|
expect {
|
|
221
|
-
@client.preview.understand.services(
|
|
222
|
-
.queries(
|
|
221
|
+
@client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
222
|
+
.queries('UHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
223
223
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
224
224
|
|
|
225
225
|
values = {}
|
|
@@ -264,8 +264,8 @@ describe 'Query' do
|
|
|
264
264
|
]
|
|
265
265
|
))
|
|
266
266
|
|
|
267
|
-
actual = @client.preview.understand.services(
|
|
268
|
-
.queries(
|
|
267
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
268
|
+
.queries('UHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
269
269
|
|
|
270
270
|
expect(actual).to_not eq(nil)
|
|
271
271
|
end
|
|
@@ -274,8 +274,8 @@ describe 'Query' do
|
|
|
274
274
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
275
275
|
|
|
276
276
|
expect {
|
|
277
|
-
@client.preview.understand.services(
|
|
278
|
-
.queries(
|
|
277
|
+
@client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
278
|
+
.queries('UHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
279
279
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
280
280
|
|
|
281
281
|
values = {}
|
|
@@ -292,8 +292,8 @@ describe 'Query' do
|
|
|
292
292
|
nil,
|
|
293
293
|
))
|
|
294
294
|
|
|
295
|
-
actual = @client.preview.understand.services(
|
|
296
|
-
.queries(
|
|
295
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
296
|
+
.queries('UHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
297
297
|
|
|
298
298
|
expect(actual).to eq(true)
|
|
299
299
|
end
|
|
@@ -11,7 +11,7 @@ describe 'Service' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.understand.services(
|
|
14
|
+
@client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
15
15
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
16
16
|
|
|
17
17
|
values = {}
|
|
@@ -48,7 +48,7 @@ describe 'Service' do
|
|
|
48
48
|
]
|
|
49
49
|
))
|
|
50
50
|
|
|
51
|
-
actual = @client.preview.understand.services(
|
|
51
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
52
52
|
|
|
53
53
|
expect(actual).to_not eq(nil)
|
|
54
54
|
end
|
|
@@ -186,7 +186,7 @@ describe 'Service' do
|
|
|
186
186
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
187
187
|
|
|
188
188
|
expect {
|
|
189
|
-
@client.preview.understand.services(
|
|
189
|
+
@client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
190
190
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
191
191
|
|
|
192
192
|
values = {}
|
|
@@ -223,7 +223,7 @@ describe 'Service' do
|
|
|
223
223
|
]
|
|
224
224
|
))
|
|
225
225
|
|
|
226
|
-
actual = @client.preview.understand.services(
|
|
226
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
227
227
|
|
|
228
228
|
expect(actual).to_not eq(nil)
|
|
229
229
|
end
|
|
@@ -232,7 +232,7 @@ describe 'Service' do
|
|
|
232
232
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
233
233
|
|
|
234
234
|
expect {
|
|
235
|
-
@client.preview.understand.services(
|
|
235
|
+
@client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
236
236
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
237
237
|
|
|
238
238
|
values = {}
|
|
@@ -249,7 +249,7 @@ describe 'Service' do
|
|
|
249
249
|
nil,
|
|
250
250
|
))
|
|
251
251
|
|
|
252
|
-
actual = @client.preview.understand.services(
|
|
252
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
253
253
|
|
|
254
254
|
expect(actual).to eq(true)
|
|
255
255
|
end
|
|
@@ -11,7 +11,7 @@ describe 'Command' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.wireless.commands(
|
|
14
|
+
@client.preview.wireless.commands('DCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
15
15
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
16
16
|
|
|
17
17
|
values = {}
|
|
@@ -42,7 +42,7 @@ describe 'Command' do
|
|
|
42
42
|
]
|
|
43
43
|
))
|
|
44
44
|
|
|
45
|
-
actual = @client.preview.wireless.commands(
|
|
45
|
+
actual = @client.preview.wireless.commands('DCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
46
46
|
|
|
47
47
|
expect(actual).to_not eq(nil)
|
|
48
48
|
end
|
|
@@ -128,10 +128,10 @@ describe 'Command' do
|
|
|
128
128
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
129
129
|
|
|
130
130
|
expect {
|
|
131
|
-
@client.preview.wireless.commands.create(command:
|
|
131
|
+
@client.preview.wireless.commands.create(command: 'command')
|
|
132
132
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
133
133
|
|
|
134
|
-
values = {'Command' =>
|
|
134
|
+
values = {'Command' => 'command', }
|
|
135
135
|
expect(
|
|
136
136
|
@holodeck.has_request?(Holodeck::Request.new(
|
|
137
137
|
method: 'post',
|
|
@@ -160,7 +160,7 @@ describe 'Command' do
|
|
|
160
160
|
]
|
|
161
161
|
))
|
|
162
162
|
|
|
163
|
-
actual = @client.preview.wireless.commands.create(command:
|
|
163
|
+
actual = @client.preview.wireless.commands.create(command: 'command')
|
|
164
164
|
|
|
165
165
|
expect(actual).to_not eq(nil)
|
|
166
166
|
end
|
|
@@ -95,7 +95,7 @@ describe 'RatePlan' do
|
|
|
95
95
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
96
96
|
|
|
97
97
|
expect {
|
|
98
|
-
@client.preview.wireless.rate_plans(
|
|
98
|
+
@client.preview.wireless.rate_plans('WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
99
99
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
100
100
|
|
|
101
101
|
values = {}
|
|
@@ -133,7 +133,7 @@ describe 'RatePlan' do
|
|
|
133
133
|
]
|
|
134
134
|
))
|
|
135
135
|
|
|
136
|
-
actual = @client.preview.wireless.rate_plans(
|
|
136
|
+
actual = @client.preview.wireless.rate_plans('WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
137
137
|
|
|
138
138
|
expect(actual).to_not eq(nil)
|
|
139
139
|
end
|
|
@@ -189,7 +189,7 @@ describe 'RatePlan' do
|
|
|
189
189
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
190
190
|
|
|
191
191
|
expect {
|
|
192
|
-
@client.preview.wireless.rate_plans(
|
|
192
|
+
@client.preview.wireless.rate_plans('WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
193
193
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
194
194
|
|
|
195
195
|
values = {}
|
|
@@ -227,7 +227,7 @@ describe 'RatePlan' do
|
|
|
227
227
|
]
|
|
228
228
|
))
|
|
229
229
|
|
|
230
|
-
actual = @client.preview.wireless.rate_plans(
|
|
230
|
+
actual = @client.preview.wireless.rate_plans('WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
231
231
|
|
|
232
232
|
expect(actual).to_not eq(nil)
|
|
233
233
|
end
|
|
@@ -236,7 +236,7 @@ describe 'RatePlan' do
|
|
|
236
236
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
237
237
|
|
|
238
238
|
expect {
|
|
239
|
-
@client.preview.wireless.rate_plans(
|
|
239
|
+
@client.preview.wireless.rate_plans('WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
240
240
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
241
241
|
|
|
242
242
|
values = {}
|
|
@@ -253,7 +253,7 @@ describe 'RatePlan' do
|
|
|
253
253
|
nil,
|
|
254
254
|
))
|
|
255
255
|
|
|
256
|
-
actual = @client.preview.wireless.rate_plans(
|
|
256
|
+
actual = @client.preview.wireless.rate_plans('WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
257
257
|
|
|
258
258
|
expect(actual).to eq(true)
|
|
259
259
|
end
|
|
@@ -11,7 +11,7 @@ describe 'Usage' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.wireless.sims(
|
|
14
|
+
@client.preview.wireless.sims('DEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
15
|
.usage().fetch()
|
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
17
17
|
|
|
@@ -41,7 +41,7 @@ describe 'Usage' do
|
|
|
41
41
|
]
|
|
42
42
|
))
|
|
43
43
|
|
|
44
|
-
actual = @client.preview.wireless.sims(
|
|
44
|
+
actual = @client.preview.wireless.sims('DEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
45
45
|
.usage().fetch()
|
|
46
46
|
|
|
47
47
|
expect(actual).to_not eq(nil)
|
|
@@ -11,7 +11,7 @@ describe 'Sim' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.wireless.sims(
|
|
14
|
+
@client.preview.wireless.sims('DEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
15
15
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
16
16
|
|
|
17
17
|
values = {}
|
|
@@ -56,7 +56,7 @@ describe 'Sim' do
|
|
|
56
56
|
]
|
|
57
57
|
))
|
|
58
58
|
|
|
59
|
-
actual = @client.preview.wireless.sims(
|
|
59
|
+
actual = @client.preview.wireless.sims('DEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
60
60
|
|
|
61
61
|
expect(actual).to_not eq(nil)
|
|
62
62
|
end
|
|
@@ -156,7 +156,7 @@ describe 'Sim' do
|
|
|
156
156
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
157
157
|
|
|
158
158
|
expect {
|
|
159
|
-
@client.preview.wireless.sims(
|
|
159
|
+
@client.preview.wireless.sims('DEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
160
160
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
161
161
|
|
|
162
162
|
values = {}
|
|
@@ -201,7 +201,7 @@ describe 'Sim' do
|
|
|
201
201
|
]
|
|
202
202
|
))
|
|
203
203
|
|
|
204
|
-
actual = @client.preview.wireless.sims(
|
|
204
|
+
actual = @client.preview.wireless.sims('DEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
205
205
|
|
|
206
206
|
expect(actual).to_not eq(nil)
|
|
207
207
|
end
|
|
@@ -84,7 +84,7 @@ describe 'Country' do
|
|
|
84
84
|
|
|
85
85
|
expect {
|
|
86
86
|
@client.pricing.v1.messaging \
|
|
87
|
-
.countries(
|
|
87
|
+
.countries('US').fetch()
|
|
88
88
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
89
89
|
|
|
90
90
|
values = {}
|
|
@@ -130,7 +130,7 @@ describe 'Country' do
|
|
|
130
130
|
))
|
|
131
131
|
|
|
132
132
|
actual = @client.pricing.v1.messaging \
|
|
133
|
-
.countries(
|
|
133
|
+
.countries('US').fetch()
|
|
134
134
|
|
|
135
135
|
expect(actual).to_not eq(nil)
|
|
136
136
|
end
|
|
@@ -84,7 +84,7 @@ describe 'Country' do
|
|
|
84
84
|
|
|
85
85
|
expect {
|
|
86
86
|
@client.pricing.v1.phone_numbers \
|
|
87
|
-
.countries(
|
|
87
|
+
.countries('US').fetch()
|
|
88
88
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
89
89
|
|
|
90
90
|
values = {}
|
|
@@ -121,7 +121,7 @@ describe 'Country' do
|
|
|
121
121
|
))
|
|
122
122
|
|
|
123
123
|
actual = @client.pricing.v1.phone_numbers \
|
|
124
|
-
.countries(
|
|
124
|
+
.countries('US').fetch()
|
|
125
125
|
|
|
126
126
|
expect(actual).to_not eq(nil)
|
|
127
127
|
end
|
|
@@ -84,7 +84,7 @@ describe 'Country' do
|
|
|
84
84
|
|
|
85
85
|
expect {
|
|
86
86
|
@client.pricing.v1.voice \
|
|
87
|
-
.countries(
|
|
87
|
+
.countries('US').fetch()
|
|
88
88
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
89
89
|
|
|
90
90
|
values = {}
|
|
@@ -259,7 +259,7 @@ describe 'Country' do
|
|
|
259
259
|
))
|
|
260
260
|
|
|
261
261
|
actual = @client.pricing.v1.voice \
|
|
262
|
-
.countries(
|
|
262
|
+
.countries('US').fetch()
|
|
263
263
|
|
|
264
264
|
expect(actual).to_not eq(nil)
|
|
265
265
|
end
|
|
@@ -12,7 +12,7 @@ describe 'Number' do
|
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
14
|
@client.pricing.v1.voice \
|
|
15
|
-
.numbers(
|
|
15
|
+
.numbers('+15017122661').fetch()
|
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
17
17
|
|
|
18
18
|
values = {}
|
|
@@ -47,7 +47,7 @@ describe 'Number' do
|
|
|
47
47
|
))
|
|
48
48
|
|
|
49
49
|
actual = @client.pricing.v1.voice \
|
|
50
|
-
.numbers(
|
|
50
|
+
.numbers('+15017122661').fetch()
|
|
51
51
|
|
|
52
52
|
expect(actual).to_not eq(nil)
|
|
53
53
|
end
|
|
@@ -11,7 +11,7 @@ describe 'PhoneNumber' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.proxy.v1.services(
|
|
14
|
+
@client.proxy.v1.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
15
|
.phone_numbers.create()
|
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
17
17
|
|
|
@@ -45,7 +45,7 @@ describe 'PhoneNumber' do
|
|
|
45
45
|
]
|
|
46
46
|
))
|
|
47
47
|
|
|
48
|
-
actual = @client.proxy.v1.services(
|
|
48
|
+
actual = @client.proxy.v1.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
49
49
|
.phone_numbers.create()
|
|
50
50
|
|
|
51
51
|
expect(actual).to_not eq(nil)
|
|
@@ -55,8 +55,8 @@ describe 'PhoneNumber' do
|
|
|
55
55
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
56
56
|
|
|
57
57
|
expect {
|
|
58
|
-
@client.proxy.v1.services(
|
|
59
|
-
.phone_numbers(
|
|
58
|
+
@client.proxy.v1.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
59
|
+
.phone_numbers('PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
60
60
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
61
61
|
|
|
62
62
|
values = {}
|
|
@@ -73,8 +73,8 @@ describe 'PhoneNumber' do
|
|
|
73
73
|
nil,
|
|
74
74
|
))
|
|
75
75
|
|
|
76
|
-
actual = @client.proxy.v1.services(
|
|
77
|
-
.phone_numbers(
|
|
76
|
+
actual = @client.proxy.v1.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
77
|
+
.phone_numbers('PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
78
78
|
|
|
79
79
|
expect(actual).to eq(true)
|
|
80
80
|
end
|
|
@@ -83,7 +83,7 @@ describe 'PhoneNumber' do
|
|
|
83
83
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
84
84
|
|
|
85
85
|
expect {
|
|
86
|
-
@client.proxy.v1.services(
|
|
86
|
+
@client.proxy.v1.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
87
87
|
.phone_numbers.list()
|
|
88
88
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
89
89
|
|
|
@@ -130,7 +130,7 @@ describe 'PhoneNumber' do
|
|
|
130
130
|
]
|
|
131
131
|
))
|
|
132
132
|
|
|
133
|
-
actual = @client.proxy.v1.services(
|
|
133
|
+
actual = @client.proxy.v1.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
134
134
|
.phone_numbers.list()
|
|
135
135
|
|
|
136
136
|
expect(actual).to_not eq(nil)
|
|
@@ -140,8 +140,8 @@ describe 'PhoneNumber' do
|
|
|
140
140
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
141
141
|
|
|
142
142
|
expect {
|
|
143
|
-
@client.proxy.v1.services(
|
|
144
|
-
.phone_numbers(
|
|
143
|
+
@client.proxy.v1.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
144
|
+
.phone_numbers('PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
145
145
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
146
146
|
|
|
147
147
|
values = {}
|
|
@@ -174,8 +174,8 @@ describe 'PhoneNumber' do
|
|
|
174
174
|
]
|
|
175
175
|
))
|
|
176
176
|
|
|
177
|
-
actual = @client.proxy.v1.services(
|
|
178
|
-
.phone_numbers(
|
|
177
|
+
actual = @client.proxy.v1.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
178
|
+
.phone_numbers('PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
179
179
|
|
|
180
180
|
expect(actual).to_not eq(nil)
|
|
181
181
|
end
|