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,11 +11,11 @@ describe 'InstalledAddOn' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.marketplace.installed_add_ons.create(available_add_on_sid:
|
|
14
|
+
@client.preview.marketplace.installed_add_ons.create(available_add_on_sid: 'XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', accept_terms_of_service: true)
|
|
15
15
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
16
16
|
|
|
17
17
|
values = {
|
|
18
|
-
'AvailableAddOnSid' =>
|
|
18
|
+
'AvailableAddOnSid' => 'XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
|
|
19
19
|
'AcceptTermsOfService' => true,
|
|
20
20
|
}
|
|
21
21
|
expect(
|
|
@@ -50,7 +50,7 @@ describe 'InstalledAddOn' do
|
|
|
50
50
|
]
|
|
51
51
|
))
|
|
52
52
|
|
|
53
|
-
actual = @client.preview.marketplace.installed_add_ons.create(available_add_on_sid:
|
|
53
|
+
actual = @client.preview.marketplace.installed_add_ons.create(available_add_on_sid: 'XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', accept_terms_of_service: true)
|
|
54
54
|
|
|
55
55
|
expect(actual).to_not eq(nil)
|
|
56
56
|
end
|
|
@@ -59,7 +59,7 @@ describe 'InstalledAddOn' do
|
|
|
59
59
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
60
60
|
|
|
61
61
|
expect {
|
|
62
|
-
@client.preview.marketplace.installed_add_ons(
|
|
62
|
+
@client.preview.marketplace.installed_add_ons('XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
63
63
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
64
64
|
|
|
65
65
|
values = {}
|
|
@@ -76,7 +76,7 @@ describe 'InstalledAddOn' do
|
|
|
76
76
|
nil,
|
|
77
77
|
))
|
|
78
78
|
|
|
79
|
-
actual = @client.preview.marketplace.installed_add_ons(
|
|
79
|
+
actual = @client.preview.marketplace.installed_add_ons('XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
80
80
|
|
|
81
81
|
expect(actual).to eq(true)
|
|
82
82
|
end
|
|
@@ -85,7 +85,7 @@ describe 'InstalledAddOn' do
|
|
|
85
85
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
86
86
|
|
|
87
87
|
expect {
|
|
88
|
-
@client.preview.marketplace.installed_add_ons(
|
|
88
|
+
@client.preview.marketplace.installed_add_ons('XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
89
89
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
90
90
|
|
|
91
91
|
values = {}
|
|
@@ -120,7 +120,7 @@ describe 'InstalledAddOn' do
|
|
|
120
120
|
]
|
|
121
121
|
))
|
|
122
122
|
|
|
123
|
-
actual = @client.preview.marketplace.installed_add_ons(
|
|
123
|
+
actual = @client.preview.marketplace.installed_add_ons('XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
124
124
|
|
|
125
125
|
expect(actual).to_not eq(nil)
|
|
126
126
|
end
|
|
@@ -129,7 +129,7 @@ describe 'InstalledAddOn' do
|
|
|
129
129
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
130
130
|
|
|
131
131
|
expect {
|
|
132
|
-
@client.preview.marketplace.installed_add_ons(
|
|
132
|
+
@client.preview.marketplace.installed_add_ons('XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
133
133
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
134
134
|
|
|
135
135
|
values = {}
|
|
@@ -164,7 +164,7 @@ describe 'InstalledAddOn' do
|
|
|
164
164
|
]
|
|
165
165
|
))
|
|
166
166
|
|
|
167
|
-
actual = @client.preview.marketplace.installed_add_ons(
|
|
167
|
+
actual = @client.preview.marketplace.installed_add_ons('XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
168
168
|
|
|
169
169
|
expect(actual).to_not eq(nil)
|
|
170
170
|
end
|
|
@@ -11,11 +11,11 @@ describe 'PhoneNumber' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.proxy.services(
|
|
15
|
-
.phone_numbers.create(sid:
|
|
14
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
|
+
.phone_numbers.create(sid: 'PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
|
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
17
17
|
|
|
18
|
-
values = {'Sid' =>
|
|
18
|
+
values = {'Sid' => 'PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', }
|
|
19
19
|
expect(
|
|
20
20
|
@holodeck.has_request?(Holodeck::Request.new(
|
|
21
21
|
method: 'post',
|
|
@@ -42,8 +42,8 @@ describe 'PhoneNumber' do
|
|
|
42
42
|
]
|
|
43
43
|
))
|
|
44
44
|
|
|
45
|
-
actual = @client.preview.proxy.services(
|
|
46
|
-
.phone_numbers.create(sid:
|
|
45
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
46
|
+
.phone_numbers.create(sid: 'PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
|
|
47
47
|
|
|
48
48
|
expect(actual).to_not eq(nil)
|
|
49
49
|
end
|
|
@@ -52,8 +52,8 @@ describe 'PhoneNumber' do
|
|
|
52
52
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
53
53
|
|
|
54
54
|
expect {
|
|
55
|
-
@client.preview.proxy.services(
|
|
56
|
-
.phone_numbers(
|
|
55
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
56
|
+
.phone_numbers('PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
57
57
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
58
58
|
|
|
59
59
|
values = {}
|
|
@@ -70,8 +70,8 @@ describe 'PhoneNumber' do
|
|
|
70
70
|
nil,
|
|
71
71
|
))
|
|
72
72
|
|
|
73
|
-
actual = @client.preview.proxy.services(
|
|
74
|
-
.phone_numbers(
|
|
73
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
74
|
+
.phone_numbers('PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
75
75
|
|
|
76
76
|
expect(actual).to eq(true)
|
|
77
77
|
end
|
|
@@ -80,7 +80,7 @@ describe 'PhoneNumber' do
|
|
|
80
80
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
81
81
|
|
|
82
82
|
expect {
|
|
83
|
-
@client.preview.proxy.services(
|
|
83
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
84
84
|
.phone_numbers.list()
|
|
85
85
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
86
86
|
|
|
@@ -123,7 +123,7 @@ describe 'PhoneNumber' do
|
|
|
123
123
|
]
|
|
124
124
|
))
|
|
125
125
|
|
|
126
|
-
actual = @client.preview.proxy.services(
|
|
126
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
127
127
|
.phone_numbers.list()
|
|
128
128
|
|
|
129
129
|
expect(actual).to_not eq(nil)
|
|
@@ -133,8 +133,8 @@ describe 'PhoneNumber' do
|
|
|
133
133
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
134
134
|
|
|
135
135
|
expect {
|
|
136
|
-
@client.preview.proxy.services(
|
|
137
|
-
.phone_numbers(
|
|
136
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
137
|
+
.phone_numbers('PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
138
138
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
139
139
|
|
|
140
140
|
values = {}
|
|
@@ -163,8 +163,8 @@ describe 'PhoneNumber' do
|
|
|
163
163
|
]
|
|
164
164
|
))
|
|
165
165
|
|
|
166
|
-
actual = @client.preview.proxy.services(
|
|
167
|
-
.phone_numbers(
|
|
166
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
167
|
+
.phone_numbers('PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
168
168
|
|
|
169
169
|
expect(actual).to_not eq(nil)
|
|
170
170
|
end
|
|
@@ -11,9 +11,9 @@ describe 'Interaction' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.proxy.services(
|
|
15
|
-
.sessions(
|
|
16
|
-
.interactions(
|
|
14
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
16
|
+
.interactions('KIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
17
17
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
18
18
|
|
|
19
19
|
values = {}
|
|
@@ -52,9 +52,9 @@ describe 'Interaction' do
|
|
|
52
52
|
]
|
|
53
53
|
))
|
|
54
54
|
|
|
55
|
-
actual = @client.preview.proxy.services(
|
|
56
|
-
.sessions(
|
|
57
|
-
.interactions(
|
|
55
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
56
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
57
|
+
.interactions('KIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
58
58
|
|
|
59
59
|
expect(actual).to_not eq(nil)
|
|
60
60
|
end
|
|
@@ -63,8 +63,8 @@ describe 'Interaction' do
|
|
|
63
63
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
64
64
|
|
|
65
65
|
expect {
|
|
66
|
-
@client.preview.proxy.services(
|
|
67
|
-
.sessions(
|
|
66
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
67
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
68
68
|
.interactions.list()
|
|
69
69
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
70
70
|
|
|
@@ -95,8 +95,8 @@ describe 'Interaction' do
|
|
|
95
95
|
]
|
|
96
96
|
))
|
|
97
97
|
|
|
98
|
-
actual = @client.preview.proxy.services(
|
|
99
|
-
.sessions(
|
|
98
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
99
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
100
100
|
.interactions.list()
|
|
101
101
|
|
|
102
102
|
expect(actual).to_not eq(nil)
|
|
@@ -11,9 +11,9 @@ describe 'MessageInteraction' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.proxy.services(
|
|
15
|
-
.sessions(
|
|
16
|
-
.participants(
|
|
14
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
16
|
+
.participants('KPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
17
17
|
.message_interactions.create()
|
|
18
18
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
19
19
|
|
|
@@ -54,9 +54,9 @@ describe 'MessageInteraction' do
|
|
|
54
54
|
]
|
|
55
55
|
))
|
|
56
56
|
|
|
57
|
-
actual = @client.preview.proxy.services(
|
|
58
|
-
.sessions(
|
|
59
|
-
.participants(
|
|
57
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
58
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
59
|
+
.participants('KPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
60
60
|
.message_interactions.create()
|
|
61
61
|
|
|
62
62
|
expect(actual).to_not eq(nil)
|
|
@@ -66,10 +66,10 @@ describe 'MessageInteraction' do
|
|
|
66
66
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
67
67
|
|
|
68
68
|
expect {
|
|
69
|
-
@client.preview.proxy.services(
|
|
70
|
-
.sessions(
|
|
71
|
-
.participants(
|
|
72
|
-
.message_interactions(
|
|
69
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
70
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
71
|
+
.participants('KPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
72
|
+
.message_interactions('KIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
73
73
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
74
74
|
|
|
75
75
|
values = {}
|
|
@@ -109,10 +109,10 @@ describe 'MessageInteraction' do
|
|
|
109
109
|
]
|
|
110
110
|
))
|
|
111
111
|
|
|
112
|
-
actual = @client.preview.proxy.services(
|
|
113
|
-
.sessions(
|
|
114
|
-
.participants(
|
|
115
|
-
.message_interactions(
|
|
112
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
113
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
114
|
+
.participants('KPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
115
|
+
.message_interactions('KIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
116
116
|
|
|
117
117
|
expect(actual).to_not eq(nil)
|
|
118
118
|
end
|
|
@@ -121,9 +121,9 @@ describe 'MessageInteraction' do
|
|
|
121
121
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
122
122
|
|
|
123
123
|
expect {
|
|
124
|
-
@client.preview.proxy.services(
|
|
125
|
-
.sessions(
|
|
126
|
-
.participants(
|
|
124
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
125
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
126
|
+
.participants('KPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
127
127
|
.message_interactions.list()
|
|
128
128
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
129
129
|
|
|
@@ -154,9 +154,9 @@ describe 'MessageInteraction' do
|
|
|
154
154
|
]
|
|
155
155
|
))
|
|
156
156
|
|
|
157
|
-
actual = @client.preview.proxy.services(
|
|
158
|
-
.sessions(
|
|
159
|
-
.participants(
|
|
157
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
158
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
159
|
+
.participants('KPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
160
160
|
.message_interactions.list()
|
|
161
161
|
|
|
162
162
|
expect(actual).to_not eq(nil)
|
|
@@ -11,9 +11,9 @@ describe 'Participant' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.proxy.services(
|
|
15
|
-
.sessions(
|
|
16
|
-
.participants(
|
|
14
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
16
|
+
.participants('KPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
17
17
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
18
18
|
|
|
19
19
|
values = {}
|
|
@@ -47,9 +47,9 @@ describe 'Participant' do
|
|
|
47
47
|
]
|
|
48
48
|
))
|
|
49
49
|
|
|
50
|
-
actual = @client.preview.proxy.services(
|
|
51
|
-
.sessions(
|
|
52
|
-
.participants(
|
|
50
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
51
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
52
|
+
.participants('KPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
53
53
|
|
|
54
54
|
expect(actual).to_not eq(nil)
|
|
55
55
|
end
|
|
@@ -58,8 +58,8 @@ describe 'Participant' do
|
|
|
58
58
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
59
59
|
|
|
60
60
|
expect {
|
|
61
|
-
@client.preview.proxy.services(
|
|
62
|
-
.sessions(
|
|
61
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
62
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
63
63
|
.participants.list()
|
|
64
64
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
65
65
|
|
|
@@ -90,8 +90,8 @@ describe 'Participant' do
|
|
|
90
90
|
]
|
|
91
91
|
))
|
|
92
92
|
|
|
93
|
-
actual = @client.preview.proxy.services(
|
|
94
|
-
.sessions(
|
|
93
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
94
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
95
95
|
.participants.list()
|
|
96
96
|
|
|
97
97
|
expect(actual).to_not eq(nil)
|
|
@@ -101,12 +101,12 @@ describe 'Participant' do
|
|
|
101
101
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
102
102
|
|
|
103
103
|
expect {
|
|
104
|
-
@client.preview.proxy.services(
|
|
105
|
-
.sessions(
|
|
106
|
-
.participants.create(identifier:
|
|
104
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
105
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
106
|
+
.participants.create(identifier: 'identifier')
|
|
107
107
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
108
108
|
|
|
109
|
-
values = {'Identifier' =>
|
|
109
|
+
values = {'Identifier' => 'identifier', }
|
|
110
110
|
expect(
|
|
111
111
|
@holodeck.has_request?(Holodeck::Request.new(
|
|
112
112
|
method: 'post',
|
|
@@ -138,9 +138,9 @@ describe 'Participant' do
|
|
|
138
138
|
]
|
|
139
139
|
))
|
|
140
140
|
|
|
141
|
-
actual = @client.preview.proxy.services(
|
|
142
|
-
.sessions(
|
|
143
|
-
.participants.create(identifier:
|
|
141
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
142
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
143
|
+
.participants.create(identifier: 'identifier')
|
|
144
144
|
|
|
145
145
|
expect(actual).to_not eq(nil)
|
|
146
146
|
end
|
|
@@ -149,9 +149,9 @@ describe 'Participant' do
|
|
|
149
149
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
150
150
|
|
|
151
151
|
expect {
|
|
152
|
-
@client.preview.proxy.services(
|
|
153
|
-
.sessions(
|
|
154
|
-
.participants(
|
|
152
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
153
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
154
|
+
.participants('KPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
155
155
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
156
156
|
|
|
157
157
|
values = {}
|
|
@@ -168,9 +168,9 @@ describe 'Participant' do
|
|
|
168
168
|
nil,
|
|
169
169
|
))
|
|
170
170
|
|
|
171
|
-
actual = @client.preview.proxy.services(
|
|
172
|
-
.sessions(
|
|
173
|
-
.participants(
|
|
171
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
172
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
173
|
+
.participants('KPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
174
174
|
|
|
175
175
|
expect(actual).to eq(true)
|
|
176
176
|
end
|
|
@@ -179,9 +179,9 @@ describe 'Participant' do
|
|
|
179
179
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
180
180
|
|
|
181
181
|
expect {
|
|
182
|
-
@client.preview.proxy.services(
|
|
183
|
-
.sessions(
|
|
184
|
-
.participants(
|
|
182
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
183
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
184
|
+
.participants('KPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
185
185
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
186
186
|
|
|
187
187
|
values = {}
|
|
@@ -215,9 +215,9 @@ describe 'Participant' do
|
|
|
215
215
|
]
|
|
216
216
|
))
|
|
217
217
|
|
|
218
|
-
actual = @client.preview.proxy.services(
|
|
219
|
-
.sessions(
|
|
220
|
-
.participants(
|
|
218
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
219
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
220
|
+
.participants('KPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
221
221
|
|
|
222
222
|
expect(actual).to_not eq(nil)
|
|
223
223
|
end
|
|
@@ -11,8 +11,8 @@ describe 'Session' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.proxy.services(
|
|
15
|
-
.sessions(
|
|
14
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
17
17
|
|
|
18
18
|
values = {}
|
|
@@ -47,8 +47,8 @@ describe 'Session' do
|
|
|
47
47
|
]
|
|
48
48
|
))
|
|
49
49
|
|
|
50
|
-
actual = @client.preview.proxy.services(
|
|
51
|
-
.sessions(
|
|
50
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
51
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
52
52
|
|
|
53
53
|
expect(actual).to_not eq(nil)
|
|
54
54
|
end
|
|
@@ -57,7 +57,7 @@ describe 'Session' do
|
|
|
57
57
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
58
58
|
|
|
59
59
|
expect {
|
|
60
|
-
@client.preview.proxy.services(
|
|
60
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
61
61
|
.sessions.list()
|
|
62
62
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
63
63
|
|
|
@@ -88,7 +88,7 @@ describe 'Session' do
|
|
|
88
88
|
]
|
|
89
89
|
))
|
|
90
90
|
|
|
91
|
-
actual = @client.preview.proxy.services(
|
|
91
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
92
92
|
.sessions.list()
|
|
93
93
|
|
|
94
94
|
expect(actual).to_not eq(nil)
|
|
@@ -98,7 +98,7 @@ describe 'Session' do
|
|
|
98
98
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
99
99
|
|
|
100
100
|
expect {
|
|
101
|
-
@client.preview.proxy.services(
|
|
101
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
102
102
|
.sessions.create()
|
|
103
103
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
104
104
|
|
|
@@ -134,7 +134,7 @@ describe 'Session' do
|
|
|
134
134
|
]
|
|
135
135
|
))
|
|
136
136
|
|
|
137
|
-
actual = @client.preview.proxy.services(
|
|
137
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
138
138
|
.sessions.create()
|
|
139
139
|
|
|
140
140
|
expect(actual).to_not eq(nil)
|
|
@@ -144,8 +144,8 @@ describe 'Session' do
|
|
|
144
144
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
145
145
|
|
|
146
146
|
expect {
|
|
147
|
-
@client.preview.proxy.services(
|
|
148
|
-
.sessions(
|
|
147
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
148
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
149
149
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
150
150
|
|
|
151
151
|
values = {}
|
|
@@ -162,8 +162,8 @@ describe 'Session' do
|
|
|
162
162
|
nil,
|
|
163
163
|
))
|
|
164
164
|
|
|
165
|
-
actual = @client.preview.proxy.services(
|
|
166
|
-
.sessions(
|
|
165
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
166
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
167
167
|
|
|
168
168
|
expect(actual).to eq(true)
|
|
169
169
|
end
|
|
@@ -172,8 +172,8 @@ describe 'Session' do
|
|
|
172
172
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
173
173
|
|
|
174
174
|
expect {
|
|
175
|
-
@client.preview.proxy.services(
|
|
176
|
-
.sessions(
|
|
175
|
+
@client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
176
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
177
177
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
178
178
|
|
|
179
179
|
values = {}
|
|
@@ -208,8 +208,8 @@ describe 'Session' do
|
|
|
208
208
|
]
|
|
209
209
|
))
|
|
210
210
|
|
|
211
|
-
actual = @client.preview.proxy.services(
|
|
212
|
-
.sessions(
|
|
211
|
+
actual = @client.preview.proxy.services('KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
212
|
+
.sessions('KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
213
213
|
|
|
214
214
|
expect(actual).to_not eq(nil)
|
|
215
215
|
end
|