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,9 +11,9 @@ describe 'AddOnResult' 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(
|
|
14
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
16
|
+
.add_on_results('XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
17
17
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
18
18
|
|
|
19
19
|
values = {}
|
|
@@ -45,9 +45,9 @@ describe 'AddOnResult' do
|
|
|
45
45
|
]
|
|
46
46
|
))
|
|
47
47
|
|
|
48
|
-
actual = @client.api.v2010.accounts(
|
|
49
|
-
.recordings(
|
|
50
|
-
.add_on_results(
|
|
48
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
49
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
50
|
+
.add_on_results('XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
51
51
|
|
|
52
52
|
expect(actual).to_not eq(nil)
|
|
53
53
|
end
|
|
@@ -56,8 +56,8 @@ describe 'AddOnResult' do
|
|
|
56
56
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
57
57
|
|
|
58
58
|
expect {
|
|
59
|
-
@client.api.v2010.accounts(
|
|
60
|
-
.recordings(
|
|
59
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
60
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
61
61
|
.add_on_results.list()
|
|
62
62
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
63
63
|
|
|
@@ -102,8 +102,8 @@ describe 'AddOnResult' do
|
|
|
102
102
|
]
|
|
103
103
|
))
|
|
104
104
|
|
|
105
|
-
actual = @client.api.v2010.accounts(
|
|
106
|
-
.recordings(
|
|
105
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
106
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
107
107
|
.add_on_results.list()
|
|
108
108
|
|
|
109
109
|
expect(actual).to_not eq(nil)
|
|
@@ -127,8 +127,8 @@ describe 'AddOnResult' do
|
|
|
127
127
|
]
|
|
128
128
|
))
|
|
129
129
|
|
|
130
|
-
actual = @client.api.v2010.accounts(
|
|
131
|
-
.recordings(
|
|
130
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
131
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
132
132
|
.add_on_results.list()
|
|
133
133
|
|
|
134
134
|
expect(actual).to_not eq(nil)
|
|
@@ -138,9 +138,9 @@ describe 'AddOnResult' do
|
|
|
138
138
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
139
139
|
|
|
140
140
|
expect {
|
|
141
|
-
@client.api.v2010.accounts(
|
|
142
|
-
.recordings(
|
|
143
|
-
.add_on_results(
|
|
141
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
142
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
143
|
+
.add_on_results('XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
144
144
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
145
145
|
|
|
146
146
|
values = {}
|
|
@@ -157,9 +157,9 @@ describe 'AddOnResult' do
|
|
|
157
157
|
nil,
|
|
158
158
|
))
|
|
159
159
|
|
|
160
|
-
actual = @client.api.v2010.accounts(
|
|
161
|
-
.recordings(
|
|
162
|
-
.add_on_results(
|
|
160
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
161
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
162
|
+
.add_on_results('XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
163
163
|
|
|
164
164
|
expect(actual).to eq(true)
|
|
165
165
|
end
|
|
@@ -11,9 +11,9 @@ describe 'Transcription' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.api.v2010.accounts(
|
|
15
|
-
.recordings(
|
|
16
|
-
.transcriptions(
|
|
14
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
16
|
+
.transcriptions('TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
17
17
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
18
18
|
|
|
19
19
|
values = {}
|
|
@@ -46,9 +46,9 @@ describe 'Transcription' do
|
|
|
46
46
|
]
|
|
47
47
|
))
|
|
48
48
|
|
|
49
|
-
actual = @client.api.v2010.accounts(
|
|
50
|
-
.recordings(
|
|
51
|
-
.transcriptions(
|
|
49
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
50
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
51
|
+
.transcriptions('TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
52
52
|
|
|
53
53
|
expect(actual).to_not eq(nil)
|
|
54
54
|
end
|
|
@@ -57,9 +57,9 @@ describe 'Transcription' do
|
|
|
57
57
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
58
58
|
|
|
59
59
|
expect {
|
|
60
|
-
@client.api.v2010.accounts(
|
|
61
|
-
.recordings(
|
|
62
|
-
.transcriptions(
|
|
60
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
61
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
62
|
+
.transcriptions('TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
63
63
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
64
64
|
|
|
65
65
|
values = {}
|
|
@@ -76,9 +76,9 @@ describe 'Transcription' do
|
|
|
76
76
|
nil,
|
|
77
77
|
))
|
|
78
78
|
|
|
79
|
-
actual = @client.api.v2010.accounts(
|
|
80
|
-
.recordings(
|
|
81
|
-
.transcriptions(
|
|
79
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
80
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
81
|
+
.transcriptions('TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
82
82
|
|
|
83
83
|
expect(actual).to eq(true)
|
|
84
84
|
end
|
|
@@ -87,8 +87,8 @@ describe 'Transcription' do
|
|
|
87
87
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
88
88
|
|
|
89
89
|
expect {
|
|
90
|
-
@client.api.v2010.accounts(
|
|
91
|
-
.recordings(
|
|
90
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
91
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
92
92
|
.transcriptions.list()
|
|
93
93
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
94
94
|
|
|
@@ -137,8 +137,8 @@ describe 'Transcription' do
|
|
|
137
137
|
]
|
|
138
138
|
))
|
|
139
139
|
|
|
140
|
-
actual = @client.api.v2010.accounts(
|
|
141
|
-
.recordings(
|
|
140
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
141
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
142
142
|
.transcriptions.list()
|
|
143
143
|
|
|
144
144
|
expect(actual).to_not eq(nil)
|
|
@@ -165,8 +165,8 @@ describe 'Transcription' do
|
|
|
165
165
|
]
|
|
166
166
|
))
|
|
167
167
|
|
|
168
|
-
actual = @client.api.v2010.accounts(
|
|
169
|
-
.recordings(
|
|
168
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
169
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
170
170
|
.transcriptions.list()
|
|
171
171
|
|
|
172
172
|
expect(actual).to_not eq(nil)
|
|
@@ -11,8 +11,8 @@ describe 'Recording' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.api.v2010.accounts(
|
|
15
|
-
.recordings(
|
|
14
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
17
17
|
|
|
18
18
|
values = {}
|
|
@@ -58,8 +58,8 @@ describe 'Recording' do
|
|
|
58
58
|
]
|
|
59
59
|
))
|
|
60
60
|
|
|
61
|
-
actual = @client.api.v2010.accounts(
|
|
62
|
-
.recordings(
|
|
61
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
62
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
63
63
|
|
|
64
64
|
expect(actual).to_not eq(nil)
|
|
65
65
|
end
|
|
@@ -68,8 +68,8 @@ describe 'Recording' do
|
|
|
68
68
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
69
69
|
|
|
70
70
|
expect {
|
|
71
|
-
@client.api.v2010.accounts(
|
|
72
|
-
.recordings(
|
|
71
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
72
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
73
73
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
74
74
|
|
|
75
75
|
values = {}
|
|
@@ -86,8 +86,8 @@ describe 'Recording' do
|
|
|
86
86
|
nil,
|
|
87
87
|
))
|
|
88
88
|
|
|
89
|
-
actual = @client.api.v2010.accounts(
|
|
90
|
-
.recordings(
|
|
89
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
90
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
91
91
|
|
|
92
92
|
expect(actual).to eq(true)
|
|
93
93
|
end
|
|
@@ -96,7 +96,7 @@ describe 'Recording' do
|
|
|
96
96
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
97
97
|
|
|
98
98
|
expect {
|
|
99
|
-
@client.api.v2010.accounts(
|
|
99
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
100
100
|
.recordings.list()
|
|
101
101
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
102
102
|
|
|
@@ -155,7 +155,7 @@ describe 'Recording' do
|
|
|
155
155
|
]
|
|
156
156
|
))
|
|
157
157
|
|
|
158
|
-
actual = @client.api.v2010.accounts(
|
|
158
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
159
159
|
.recordings.list()
|
|
160
160
|
|
|
161
161
|
expect(actual).to_not eq(nil)
|
|
@@ -179,7 +179,7 @@ describe 'Recording' do
|
|
|
179
179
|
]
|
|
180
180
|
))
|
|
181
181
|
|
|
182
|
-
actual = @client.api.v2010.accounts(
|
|
182
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
183
183
|
.recordings.list()
|
|
184
184
|
|
|
185
185
|
expect(actual).to_not eq(nil)
|
|
@@ -11,8 +11,8 @@ describe 'ShortCode' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.api.v2010.accounts(
|
|
15
|
-
.short_codes(
|
|
14
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
|
+
.short_codes('SCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
17
17
|
|
|
18
18
|
values = {}
|
|
@@ -44,8 +44,8 @@ describe 'ShortCode' do
|
|
|
44
44
|
]
|
|
45
45
|
))
|
|
46
46
|
|
|
47
|
-
actual = @client.api.v2010.accounts(
|
|
48
|
-
.short_codes(
|
|
47
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
48
|
+
.short_codes('SCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
49
49
|
|
|
50
50
|
expect(actual).to_not eq(nil)
|
|
51
51
|
end
|
|
@@ -54,8 +54,8 @@ describe 'ShortCode' do
|
|
|
54
54
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
55
55
|
|
|
56
56
|
expect {
|
|
57
|
-
@client.api.v2010.accounts(
|
|
58
|
-
.short_codes(
|
|
57
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
58
|
+
.short_codes('SCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
59
59
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
60
60
|
|
|
61
61
|
values = {}
|
|
@@ -87,8 +87,8 @@ describe 'ShortCode' do
|
|
|
87
87
|
]
|
|
88
88
|
))
|
|
89
89
|
|
|
90
|
-
actual = @client.api.v2010.accounts(
|
|
91
|
-
.short_codes(
|
|
90
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
91
|
+
.short_codes('SCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
92
92
|
|
|
93
93
|
expect(actual).to_not eq(nil)
|
|
94
94
|
end
|
|
@@ -97,7 +97,7 @@ describe 'ShortCode' do
|
|
|
97
97
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
98
98
|
|
|
99
99
|
expect {
|
|
100
|
-
@client.api.v2010.accounts(
|
|
100
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
101
101
|
.short_codes.list()
|
|
102
102
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
103
103
|
|
|
@@ -145,7 +145,7 @@ describe 'ShortCode' do
|
|
|
145
145
|
]
|
|
146
146
|
))
|
|
147
147
|
|
|
148
|
-
actual = @client.api.v2010.accounts(
|
|
148
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
149
149
|
.short_codes.list()
|
|
150
150
|
|
|
151
151
|
expect(actual).to_not eq(nil)
|
|
@@ -172,7 +172,7 @@ describe 'ShortCode' do
|
|
|
172
172
|
]
|
|
173
173
|
))
|
|
174
174
|
|
|
175
|
-
actual = @client.api.v2010.accounts(
|
|
175
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
176
176
|
.short_codes.list()
|
|
177
177
|
|
|
178
178
|
expect(actual).to_not eq(nil)
|
|
@@ -11,8 +11,8 @@ describe 'SigningKey' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.api.v2010.accounts(
|
|
15
|
-
.signing_keys(
|
|
14
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
|
+
.signing_keys('SKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
17
17
|
|
|
18
18
|
values = {}
|
|
@@ -36,8 +36,8 @@ describe 'SigningKey' do
|
|
|
36
36
|
]
|
|
37
37
|
))
|
|
38
38
|
|
|
39
|
-
actual = @client.api.v2010.accounts(
|
|
40
|
-
.signing_keys(
|
|
39
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
40
|
+
.signing_keys('SKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
41
41
|
|
|
42
42
|
expect(actual).to_not eq(nil)
|
|
43
43
|
end
|
|
@@ -46,8 +46,8 @@ describe 'SigningKey' do
|
|
|
46
46
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
47
47
|
|
|
48
48
|
expect {
|
|
49
|
-
@client.api.v2010.accounts(
|
|
50
|
-
.signing_keys(
|
|
49
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
50
|
+
.signing_keys('SKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
51
51
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
52
52
|
|
|
53
53
|
values = {}
|
|
@@ -71,8 +71,8 @@ describe 'SigningKey' do
|
|
|
71
71
|
]
|
|
72
72
|
))
|
|
73
73
|
|
|
74
|
-
actual = @client.api.v2010.accounts(
|
|
75
|
-
.signing_keys(
|
|
74
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
75
|
+
.signing_keys('SKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
76
76
|
|
|
77
77
|
expect(actual).to_not eq(nil)
|
|
78
78
|
end
|
|
@@ -81,8 +81,8 @@ describe 'SigningKey' do
|
|
|
81
81
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
82
82
|
|
|
83
83
|
expect {
|
|
84
|
-
@client.api.v2010.accounts(
|
|
85
|
-
.signing_keys(
|
|
84
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
85
|
+
.signing_keys('SKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
86
86
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
87
87
|
|
|
88
88
|
values = {}
|
|
@@ -99,8 +99,8 @@ describe 'SigningKey' do
|
|
|
99
99
|
nil,
|
|
100
100
|
))
|
|
101
101
|
|
|
102
|
-
actual = @client.api.v2010.accounts(
|
|
103
|
-
.signing_keys(
|
|
102
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
103
|
+
.signing_keys('SKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
104
104
|
|
|
105
105
|
expect(actual).to eq(true)
|
|
106
106
|
end
|
|
@@ -109,7 +109,7 @@ describe 'SigningKey' do
|
|
|
109
109
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
110
110
|
|
|
111
111
|
expect {
|
|
112
|
-
@client.api.v2010.accounts(
|
|
112
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
113
113
|
.signing_keys.list()
|
|
114
114
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
115
115
|
|
|
@@ -146,7 +146,7 @@ describe 'SigningKey' do
|
|
|
146
146
|
]
|
|
147
147
|
))
|
|
148
148
|
|
|
149
|
-
actual = @client.api.v2010.accounts(
|
|
149
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
150
150
|
.signing_keys.list()
|
|
151
151
|
|
|
152
152
|
expect(actual).to_not eq(nil)
|
|
@@ -170,7 +170,7 @@ describe 'SigningKey' do
|
|
|
170
170
|
]
|
|
171
171
|
))
|
|
172
172
|
|
|
173
|
-
actual = @client.api.v2010.accounts(
|
|
173
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
174
174
|
.signing_keys.list()
|
|
175
175
|
|
|
176
176
|
expect(actual).to_not eq(nil)
|
|
@@ -11,9 +11,9 @@ describe 'Credential' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.api.v2010.accounts(
|
|
14
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
15
|
.sip \
|
|
16
|
-
.credential_lists(
|
|
16
|
+
.credential_lists('CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
17
17
|
.credentials.list()
|
|
18
18
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
19
19
|
|
|
@@ -56,9 +56,9 @@ describe 'Credential' do
|
|
|
56
56
|
]
|
|
57
57
|
))
|
|
58
58
|
|
|
59
|
-
actual = @client.api.v2010.accounts(
|
|
59
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
60
60
|
.sip \
|
|
61
|
-
.credential_lists(
|
|
61
|
+
.credential_lists('CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
62
62
|
.credentials.list()
|
|
63
63
|
|
|
64
64
|
expect(actual).to_not eq(nil)
|
|
@@ -85,9 +85,9 @@ describe 'Credential' do
|
|
|
85
85
|
]
|
|
86
86
|
))
|
|
87
87
|
|
|
88
|
-
actual = @client.api.v2010.accounts(
|
|
88
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
89
89
|
.sip \
|
|
90
|
-
.credential_lists(
|
|
90
|
+
.credential_lists('CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
91
91
|
.credentials.list()
|
|
92
92
|
|
|
93
93
|
expect(actual).to_not eq(nil)
|
|
@@ -97,13 +97,13 @@ describe 'Credential' do
|
|
|
97
97
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
98
98
|
|
|
99
99
|
expect {
|
|
100
|
-
@client.api.v2010.accounts(
|
|
100
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
101
101
|
.sip \
|
|
102
|
-
.credential_lists(
|
|
103
|
-
.credentials.create(username:
|
|
102
|
+
.credential_lists('CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
103
|
+
.credentials.create(username: 'username', password: 'password')
|
|
104
104
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
105
105
|
|
|
106
|
-
values = {'Username' =>
|
|
106
|
+
values = {'Username' => 'username', 'Password' => 'password', }
|
|
107
107
|
expect(
|
|
108
108
|
@holodeck.has_request?(Holodeck::Request.new(
|
|
109
109
|
method: 'post',
|
|
@@ -128,10 +128,10 @@ describe 'Credential' do
|
|
|
128
128
|
]
|
|
129
129
|
))
|
|
130
130
|
|
|
131
|
-
actual = @client.api.v2010.accounts(
|
|
131
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
132
132
|
.sip \
|
|
133
|
-
.credential_lists(
|
|
134
|
-
.credentials.create(username:
|
|
133
|
+
.credential_lists('CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
134
|
+
.credentials.create(username: 'username', password: 'password')
|
|
135
135
|
|
|
136
136
|
expect(actual).to_not eq(nil)
|
|
137
137
|
end
|
|
@@ -140,10 +140,10 @@ describe 'Credential' do
|
|
|
140
140
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
141
141
|
|
|
142
142
|
expect {
|
|
143
|
-
@client.api.v2010.accounts(
|
|
143
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
144
144
|
.sip \
|
|
145
|
-
.credential_lists(
|
|
146
|
-
.credentials(
|
|
145
|
+
.credential_lists('CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
146
|
+
.credentials('CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
147
147
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
148
148
|
|
|
149
149
|
values = {}
|
|
@@ -170,10 +170,10 @@ describe 'Credential' do
|
|
|
170
170
|
]
|
|
171
171
|
))
|
|
172
172
|
|
|
173
|
-
actual = @client.api.v2010.accounts(
|
|
173
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
174
174
|
.sip \
|
|
175
|
-
.credential_lists(
|
|
176
|
-
.credentials(
|
|
175
|
+
.credential_lists('CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
176
|
+
.credentials('CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
177
177
|
|
|
178
178
|
expect(actual).to_not eq(nil)
|
|
179
179
|
end
|
|
@@ -182,10 +182,10 @@ describe 'Credential' do
|
|
|
182
182
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
183
183
|
|
|
184
184
|
expect {
|
|
185
|
-
@client.api.v2010.accounts(
|
|
185
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
186
186
|
.sip \
|
|
187
|
-
.credential_lists(
|
|
188
|
-
.credentials(
|
|
187
|
+
.credential_lists('CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
188
|
+
.credentials('CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
189
189
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
190
190
|
|
|
191
191
|
values = {}
|
|
@@ -212,10 +212,10 @@ describe 'Credential' do
|
|
|
212
212
|
]
|
|
213
213
|
))
|
|
214
214
|
|
|
215
|
-
actual = @client.api.v2010.accounts(
|
|
215
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
216
216
|
.sip \
|
|
217
|
-
.credential_lists(
|
|
218
|
-
.credentials(
|
|
217
|
+
.credential_lists('CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
218
|
+
.credentials('CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
219
219
|
|
|
220
220
|
expect(actual).to_not eq(nil)
|
|
221
221
|
end
|
|
@@ -224,10 +224,10 @@ describe 'Credential' do
|
|
|
224
224
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
225
225
|
|
|
226
226
|
expect {
|
|
227
|
-
@client.api.v2010.accounts(
|
|
227
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
228
228
|
.sip \
|
|
229
|
-
.credential_lists(
|
|
230
|
-
.credentials(
|
|
229
|
+
.credential_lists('CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
230
|
+
.credentials('CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
231
231
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
232
232
|
|
|
233
233
|
values = {}
|
|
@@ -244,10 +244,10 @@ describe 'Credential' do
|
|
|
244
244
|
nil,
|
|
245
245
|
))
|
|
246
246
|
|
|
247
|
-
actual = @client.api.v2010.accounts(
|
|
247
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
248
248
|
.sip \
|
|
249
|
-
.credential_lists(
|
|
250
|
-
.credentials(
|
|
249
|
+
.credential_lists('CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
250
|
+
.credentials('CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
251
251
|
|
|
252
252
|
expect(actual).to eq(true)
|
|
253
253
|
end
|