twilio-ruby 5.6.3 → 5.6.4
Sign up to get free protection for your applications and to get access to all the features.
- 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 'Notification' do
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
12
12
|
|
13
13
|
expect {
|
14
|
-
@client.api.v2010.accounts(
|
15
|
-
.notifications(
|
14
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
15
|
+
.notifications('NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
17
17
|
|
18
18
|
values = {}
|
@@ -49,8 +49,8 @@ describe 'Notification' do
|
|
49
49
|
]
|
50
50
|
))
|
51
51
|
|
52
|
-
actual = @client.api.v2010.accounts(
|
53
|
-
.notifications(
|
52
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
53
|
+
.notifications('NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
54
54
|
|
55
55
|
expect(actual).to_not eq(nil)
|
56
56
|
end
|
@@ -59,8 +59,8 @@ describe 'Notification' do
|
|
59
59
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
60
60
|
|
61
61
|
expect {
|
62
|
-
@client.api.v2010.accounts(
|
63
|
-
.notifications(
|
62
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
63
|
+
.notifications('NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
64
64
|
}.to raise_exception(Twilio::REST::TwilioError)
|
65
65
|
|
66
66
|
values = {}
|
@@ -77,8 +77,8 @@ describe 'Notification' do
|
|
77
77
|
nil,
|
78
78
|
))
|
79
79
|
|
80
|
-
actual = @client.api.v2010.accounts(
|
81
|
-
.notifications(
|
80
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
81
|
+
.notifications('NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
82
82
|
|
83
83
|
expect(actual).to eq(true)
|
84
84
|
end
|
@@ -87,7 +87,7 @@ describe 'Notification' do
|
|
87
87
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
88
88
|
|
89
89
|
expect {
|
90
|
-
@client.api.v2010.accounts(
|
90
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
91
91
|
.notifications.list()
|
92
92
|
}.to raise_exception(Twilio::REST::TwilioError)
|
93
93
|
|
@@ -137,7 +137,7 @@ describe 'Notification' do
|
|
137
137
|
]
|
138
138
|
))
|
139
139
|
|
140
|
-
actual = @client.api.v2010.accounts(
|
140
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
141
141
|
.notifications.list()
|
142
142
|
|
143
143
|
expect(actual).to_not eq(nil)
|
@@ -164,7 +164,7 @@ describe 'Notification' do
|
|
164
164
|
]
|
165
165
|
))
|
166
166
|
|
167
|
-
actual = @client.api.v2010.accounts(
|
167
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
168
168
|
.notifications.list()
|
169
169
|
|
170
170
|
expect(actual).to_not eq(nil)
|
@@ -11,8 +11,8 @@ describe 'OutgoingCallerId' do
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
12
12
|
|
13
13
|
expect {
|
14
|
-
@client.api.v2010.accounts(
|
15
|
-
.outgoing_caller_ids(
|
14
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
15
|
+
.outgoing_caller_ids('PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
17
17
|
|
18
18
|
values = {}
|
@@ -39,8 +39,8 @@ describe 'OutgoingCallerId' do
|
|
39
39
|
]
|
40
40
|
))
|
41
41
|
|
42
|
-
actual = @client.api.v2010.accounts(
|
43
|
-
.outgoing_caller_ids(
|
42
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
43
|
+
.outgoing_caller_ids('PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
44
44
|
|
45
45
|
expect(actual).to_not eq(nil)
|
46
46
|
end
|
@@ -49,8 +49,8 @@ describe 'OutgoingCallerId' do
|
|
49
49
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
50
50
|
|
51
51
|
expect {
|
52
|
-
@client.api.v2010.accounts(
|
53
|
-
.outgoing_caller_ids(
|
52
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
53
|
+
.outgoing_caller_ids('PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
54
54
|
}.to raise_exception(Twilio::REST::TwilioError)
|
55
55
|
|
56
56
|
values = {}
|
@@ -77,8 +77,8 @@ describe 'OutgoingCallerId' do
|
|
77
77
|
]
|
78
78
|
))
|
79
79
|
|
80
|
-
actual = @client.api.v2010.accounts(
|
81
|
-
.outgoing_caller_ids(
|
80
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
81
|
+
.outgoing_caller_ids('PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
82
82
|
|
83
83
|
expect(actual).to_not eq(nil)
|
84
84
|
end
|
@@ -87,8 +87,8 @@ describe 'OutgoingCallerId' do
|
|
87
87
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
88
88
|
|
89
89
|
expect {
|
90
|
-
@client.api.v2010.accounts(
|
91
|
-
.outgoing_caller_ids(
|
90
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
91
|
+
.outgoing_caller_ids('PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
92
92
|
}.to raise_exception(Twilio::REST::TwilioError)
|
93
93
|
|
94
94
|
values = {}
|
@@ -105,8 +105,8 @@ describe 'OutgoingCallerId' do
|
|
105
105
|
nil,
|
106
106
|
))
|
107
107
|
|
108
|
-
actual = @client.api.v2010.accounts(
|
109
|
-
.outgoing_caller_ids(
|
108
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
109
|
+
.outgoing_caller_ids('PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
110
110
|
|
111
111
|
expect(actual).to eq(true)
|
112
112
|
end
|
@@ -115,7 +115,7 @@ describe 'OutgoingCallerId' do
|
|
115
115
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
116
116
|
|
117
117
|
expect {
|
118
|
-
@client.api.v2010.accounts(
|
118
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
119
119
|
.outgoing_caller_ids.list()
|
120
120
|
}.to raise_exception(Twilio::REST::TwilioError)
|
121
121
|
|
@@ -158,7 +158,7 @@ describe 'OutgoingCallerId' do
|
|
158
158
|
]
|
159
159
|
))
|
160
160
|
|
161
|
-
actual = @client.api.v2010.accounts(
|
161
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
162
162
|
.outgoing_caller_ids.list()
|
163
163
|
|
164
164
|
expect(actual).to_not eq(nil)
|
@@ -185,7 +185,7 @@ describe 'OutgoingCallerId' do
|
|
185
185
|
]
|
186
186
|
))
|
187
187
|
|
188
|
-
actual = @client.api.v2010.accounts(
|
188
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
189
189
|
.outgoing_caller_ids.list()
|
190
190
|
|
191
191
|
expect(actual).to_not eq(nil)
|
@@ -11,9 +11,9 @@ describe 'Member' do
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
12
12
|
|
13
13
|
expect {
|
14
|
-
@client.api.v2010.accounts(
|
15
|
-
.queues(
|
16
|
-
.members(
|
14
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
15
|
+
.queues('QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
16
|
+
.members('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
17
17
|
}.to raise_exception(Twilio::REST::TwilioError)
|
18
18
|
|
19
19
|
values = {}
|
@@ -38,9 +38,9 @@ describe 'Member' do
|
|
38
38
|
]
|
39
39
|
))
|
40
40
|
|
41
|
-
actual = @client.api.v2010.accounts(
|
42
|
-
.queues(
|
43
|
-
.members(
|
41
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
42
|
+
.queues('QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
43
|
+
.members('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
44
44
|
|
45
45
|
expect(actual).to_not eq(nil)
|
46
46
|
end
|
@@ -49,12 +49,12 @@ describe 'Member' do
|
|
49
49
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
50
50
|
|
51
51
|
expect {
|
52
|
-
@client.api.v2010.accounts(
|
53
|
-
.queues(
|
54
|
-
.members(
|
52
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
53
|
+
.queues('QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
54
|
+
.members('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update(url: 'https://example.com', method: 'GET')
|
55
55
|
}.to raise_exception(Twilio::REST::TwilioError)
|
56
56
|
|
57
|
-
values = {'Url' =>
|
57
|
+
values = {'Url' => 'https://example.com', 'Method' => 'GET', }
|
58
58
|
expect(
|
59
59
|
@holodeck.has_request?(Holodeck::Request.new(
|
60
60
|
method: 'post',
|
@@ -77,9 +77,9 @@ describe 'Member' do
|
|
77
77
|
]
|
78
78
|
))
|
79
79
|
|
80
|
-
actual = @client.api.v2010.accounts(
|
81
|
-
.queues(
|
82
|
-
.members(
|
80
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
81
|
+
.queues('QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
82
|
+
.members('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update(url: 'https://example.com', method: 'GET')
|
83
83
|
|
84
84
|
expect(actual).to_not eq(nil)
|
85
85
|
end
|
@@ -88,8 +88,8 @@ describe 'Member' do
|
|
88
88
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
89
89
|
|
90
90
|
expect {
|
91
|
-
@client.api.v2010.accounts(
|
92
|
-
.queues(
|
91
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
92
|
+
.queues('QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
93
93
|
.members.list()
|
94
94
|
}.to raise_exception(Twilio::REST::TwilioError)
|
95
95
|
|
@@ -130,8 +130,8 @@ describe 'Member' do
|
|
130
130
|
]
|
131
131
|
))
|
132
132
|
|
133
|
-
actual = @client.api.v2010.accounts(
|
134
|
-
.queues(
|
133
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
134
|
+
.queues('QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
135
135
|
.members.list()
|
136
136
|
|
137
137
|
expect(actual).to_not eq(nil)
|
@@ -158,8 +158,8 @@ describe 'Member' do
|
|
158
158
|
]
|
159
159
|
))
|
160
160
|
|
161
|
-
actual = @client.api.v2010.accounts(
|
162
|
-
.queues(
|
161
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
162
|
+
.queues('QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
163
163
|
.members.list()
|
164
164
|
|
165
165
|
expect(actual).to_not eq(nil)
|
@@ -11,8 +11,8 @@ describe 'Queue' do
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
12
12
|
|
13
13
|
expect {
|
14
|
-
@client.api.v2010.accounts(
|
15
|
-
.queues(
|
14
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
15
|
+
.queues('QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
17
17
|
|
18
18
|
values = {}
|
@@ -41,8 +41,8 @@ describe 'Queue' do
|
|
41
41
|
]
|
42
42
|
))
|
43
43
|
|
44
|
-
actual = @client.api.v2010.accounts(
|
45
|
-
.queues(
|
44
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
45
|
+
.queues('QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
46
46
|
|
47
47
|
expect(actual).to_not eq(nil)
|
48
48
|
end
|
@@ -51,8 +51,8 @@ describe 'Queue' do
|
|
51
51
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
52
52
|
|
53
53
|
expect {
|
54
|
-
@client.api.v2010.accounts(
|
55
|
-
.queues(
|
54
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
55
|
+
.queues('QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
56
56
|
}.to raise_exception(Twilio::REST::TwilioError)
|
57
57
|
|
58
58
|
values = {}
|
@@ -81,8 +81,8 @@ describe 'Queue' do
|
|
81
81
|
]
|
82
82
|
))
|
83
83
|
|
84
|
-
actual = @client.api.v2010.accounts(
|
85
|
-
.queues(
|
84
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
85
|
+
.queues('QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
86
86
|
|
87
87
|
expect(actual).to_not eq(nil)
|
88
88
|
end
|
@@ -91,8 +91,8 @@ describe 'Queue' do
|
|
91
91
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
92
92
|
|
93
93
|
expect {
|
94
|
-
@client.api.v2010.accounts(
|
95
|
-
.queues(
|
94
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
95
|
+
.queues('QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
96
96
|
}.to raise_exception(Twilio::REST::TwilioError)
|
97
97
|
|
98
98
|
values = {}
|
@@ -109,8 +109,8 @@ describe 'Queue' do
|
|
109
109
|
nil,
|
110
110
|
))
|
111
111
|
|
112
|
-
actual = @client.api.v2010.accounts(
|
113
|
-
.queues(
|
112
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
113
|
+
.queues('QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
114
114
|
|
115
115
|
expect(actual).to eq(true)
|
116
116
|
end
|
@@ -119,7 +119,7 @@ describe 'Queue' do
|
|
119
119
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
120
120
|
|
121
121
|
expect {
|
122
|
-
@client.api.v2010.accounts(
|
122
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
123
123
|
.queues.list()
|
124
124
|
}.to raise_exception(Twilio::REST::TwilioError)
|
125
125
|
|
@@ -164,7 +164,7 @@ describe 'Queue' do
|
|
164
164
|
]
|
165
165
|
))
|
166
166
|
|
167
|
-
actual = @client.api.v2010.accounts(
|
167
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
168
168
|
.queues.list()
|
169
169
|
|
170
170
|
expect(actual).to_not eq(nil)
|
@@ -191,7 +191,7 @@ describe 'Queue' do
|
|
191
191
|
]
|
192
192
|
))
|
193
193
|
|
194
|
-
actual = @client.api.v2010.accounts(
|
194
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
195
195
|
.queues.list()
|
196
196
|
|
197
197
|
expect(actual).to_not eq(nil)
|
@@ -201,11 +201,11 @@ describe 'Queue' do
|
|
201
201
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
202
202
|
|
203
203
|
expect {
|
204
|
-
@client.api.v2010.accounts(
|
205
|
-
.queues.create(friendly_name:
|
204
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
205
|
+
.queues.create(friendly_name: 'friendly_name')
|
206
206
|
}.to raise_exception(Twilio::REST::TwilioError)
|
207
207
|
|
208
|
-
values = {'FriendlyName' =>
|
208
|
+
values = {'FriendlyName' => 'friendly_name', }
|
209
209
|
expect(
|
210
210
|
@holodeck.has_request?(Holodeck::Request.new(
|
211
211
|
method: 'post',
|
@@ -232,8 +232,8 @@ describe 'Queue' do
|
|
232
232
|
]
|
233
233
|
))
|
234
234
|
|
235
|
-
actual = @client.api.v2010.accounts(
|
236
|
-
.queues.create(friendly_name:
|
235
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
236
|
+
.queues.create(friendly_name: 'friendly_name')
|
237
237
|
|
238
238
|
expect(actual).to_not eq(nil)
|
239
239
|
end
|
@@ -11,10 +11,10 @@ describe 'Payload' do
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
12
12
|
|
13
13
|
expect {
|
14
|
-
@client.api.v2010.accounts(
|
15
|
-
.recordings(
|
16
|
-
.add_on_results(
|
17
|
-
.payloads(
|
14
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
15
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
16
|
+
.add_on_results('XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
17
|
+
.payloads('XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
18
18
|
}.to raise_exception(Twilio::REST::TwilioError)
|
19
19
|
|
20
20
|
values = {}
|
@@ -47,10 +47,10 @@ describe 'Payload' do
|
|
47
47
|
]
|
48
48
|
))
|
49
49
|
|
50
|
-
actual = @client.api.v2010.accounts(
|
51
|
-
.recordings(
|
52
|
-
.add_on_results(
|
53
|
-
.payloads(
|
50
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
51
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
52
|
+
.add_on_results('XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
53
|
+
.payloads('XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
54
54
|
|
55
55
|
expect(actual).to_not eq(nil)
|
56
56
|
end
|
@@ -59,9 +59,9 @@ describe 'Payload' do
|
|
59
59
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
60
60
|
|
61
61
|
expect {
|
62
|
-
@client.api.v2010.accounts(
|
63
|
-
.recordings(
|
64
|
-
.add_on_results(
|
62
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
63
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
64
|
+
.add_on_results('XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
65
65
|
.payloads.list()
|
66
66
|
}.to raise_exception(Twilio::REST::TwilioError)
|
67
67
|
|
@@ -107,9 +107,9 @@ describe 'Payload' do
|
|
107
107
|
]
|
108
108
|
))
|
109
109
|
|
110
|
-
actual = @client.api.v2010.accounts(
|
111
|
-
.recordings(
|
112
|
-
.add_on_results(
|
110
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
111
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
112
|
+
.add_on_results('XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
113
113
|
.payloads.list()
|
114
114
|
|
115
115
|
expect(actual).to_not eq(nil)
|
@@ -133,9 +133,9 @@ describe 'Payload' do
|
|
133
133
|
]
|
134
134
|
))
|
135
135
|
|
136
|
-
actual = @client.api.v2010.accounts(
|
137
|
-
.recordings(
|
138
|
-
.add_on_results(
|
136
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
137
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
138
|
+
.add_on_results('XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
139
139
|
.payloads.list()
|
140
140
|
|
141
141
|
expect(actual).to_not eq(nil)
|
@@ -145,10 +145,10 @@ describe 'Payload' do
|
|
145
145
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
146
146
|
|
147
147
|
expect {
|
148
|
-
@client.api.v2010.accounts(
|
149
|
-
.recordings(
|
150
|
-
.add_on_results(
|
151
|
-
.payloads(
|
148
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
149
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
150
|
+
.add_on_results('XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
151
|
+
.payloads('XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
152
152
|
}.to raise_exception(Twilio::REST::TwilioError)
|
153
153
|
|
154
154
|
values = {}
|
@@ -165,10 +165,10 @@ describe 'Payload' do
|
|
165
165
|
nil,
|
166
166
|
))
|
167
167
|
|
168
|
-
actual = @client.api.v2010.accounts(
|
169
|
-
.recordings(
|
170
|
-
.add_on_results(
|
171
|
-
.payloads(
|
168
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
169
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
170
|
+
.add_on_results('XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
171
|
+
.payloads('XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
172
172
|
|
173
173
|
expect(actual).to eq(true)
|
174
174
|
end
|