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,9 +11,9 @@ describe 'SyncMapPermission' do
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
12
12
|
|
13
13
|
expect {
|
14
|
-
@client.preview.sync.services(
|
15
|
-
.sync_maps(
|
16
|
-
.sync_map_permissions(
|
14
|
+
@client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
15
|
+
.sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
16
|
+
.sync_map_permissions('identity').fetch()
|
17
17
|
}.to raise_exception(Twilio::REST::TwilioError)
|
18
18
|
|
19
19
|
values = {}
|
@@ -41,9 +41,9 @@ describe 'SyncMapPermission' do
|
|
41
41
|
]
|
42
42
|
))
|
43
43
|
|
44
|
-
actual = @client.preview.sync.services(
|
45
|
-
.sync_maps(
|
46
|
-
.sync_map_permissions(
|
44
|
+
actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
45
|
+
.sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
46
|
+
.sync_map_permissions('identity').fetch()
|
47
47
|
|
48
48
|
expect(actual).to_not eq(nil)
|
49
49
|
end
|
@@ -52,9 +52,9 @@ describe 'SyncMapPermission' do
|
|
52
52
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
53
53
|
|
54
54
|
expect {
|
55
|
-
@client.preview.sync.services(
|
56
|
-
.sync_maps(
|
57
|
-
.sync_map_permissions(
|
55
|
+
@client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
56
|
+
.sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
57
|
+
.sync_map_permissions('identity').delete()
|
58
58
|
}.to raise_exception(Twilio::REST::TwilioError)
|
59
59
|
|
60
60
|
values = {}
|
@@ -71,9 +71,9 @@ describe 'SyncMapPermission' do
|
|
71
71
|
nil,
|
72
72
|
))
|
73
73
|
|
74
|
-
actual = @client.preview.sync.services(
|
75
|
-
.sync_maps(
|
76
|
-
.sync_map_permissions(
|
74
|
+
actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
75
|
+
.sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
76
|
+
.sync_map_permissions('identity').delete()
|
77
77
|
|
78
78
|
expect(actual).to eq(true)
|
79
79
|
end
|
@@ -82,8 +82,8 @@ describe 'SyncMapPermission' do
|
|
82
82
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
83
83
|
|
84
84
|
expect {
|
85
|
-
@client.preview.sync.services(
|
86
|
-
.sync_maps(
|
85
|
+
@client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
86
|
+
.sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
87
87
|
.sync_map_permissions.list()
|
88
88
|
}.to raise_exception(Twilio::REST::TwilioError)
|
89
89
|
|
@@ -114,8 +114,8 @@ describe 'SyncMapPermission' do
|
|
114
114
|
]
|
115
115
|
))
|
116
116
|
|
117
|
-
actual = @client.preview.sync.services(
|
118
|
-
.sync_maps(
|
117
|
+
actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
118
|
+
.sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
119
119
|
.sync_map_permissions.list()
|
120
120
|
|
121
121
|
expect(actual).to_not eq(nil)
|
@@ -151,8 +151,8 @@ describe 'SyncMapPermission' do
|
|
151
151
|
]
|
152
152
|
))
|
153
153
|
|
154
|
-
actual = @client.preview.sync.services(
|
155
|
-
.sync_maps(
|
154
|
+
actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
155
|
+
.sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
156
156
|
.sync_map_permissions.list()
|
157
157
|
|
158
158
|
expect(actual).to_not eq(nil)
|
@@ -162,9 +162,9 @@ describe 'SyncMapPermission' do
|
|
162
162
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
163
163
|
|
164
164
|
expect {
|
165
|
-
@client.preview.sync.services(
|
166
|
-
.sync_maps(
|
167
|
-
.sync_map_permissions(
|
165
|
+
@client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
166
|
+
.sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
167
|
+
.sync_map_permissions('identity').update(read: true, write: true, manage: true)
|
168
168
|
}.to raise_exception(Twilio::REST::TwilioError)
|
169
169
|
|
170
170
|
values = {'Read' => true, 'Write' => true, 'Manage' => true, }
|
@@ -193,9 +193,9 @@ describe 'SyncMapPermission' do
|
|
193
193
|
]
|
194
194
|
))
|
195
195
|
|
196
|
-
actual = @client.preview.sync.services(
|
197
|
-
.sync_maps(
|
198
|
-
.sync_map_permissions(
|
196
|
+
actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
197
|
+
.sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
198
|
+
.sync_map_permissions('identity').update(read: true, write: true, manage: true)
|
199
199
|
|
200
200
|
expect(actual).to_not eq(nil)
|
201
201
|
end
|
@@ -11,8 +11,8 @@ describe 'SyncMap' do
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
12
12
|
|
13
13
|
expect {
|
14
|
-
@client.preview.sync.services(
|
15
|
-
.sync_maps(
|
14
|
+
@client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
15
|
+
.sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
17
17
|
|
18
18
|
values = {}
|
@@ -45,8 +45,8 @@ describe 'SyncMap' do
|
|
45
45
|
]
|
46
46
|
))
|
47
47
|
|
48
|
-
actual = @client.preview.sync.services(
|
49
|
-
.sync_maps(
|
48
|
+
actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
49
|
+
.sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
50
50
|
|
51
51
|
expect(actual).to_not eq(nil)
|
52
52
|
end
|
@@ -55,8 +55,8 @@ describe 'SyncMap' do
|
|
55
55
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
56
56
|
|
57
57
|
expect {
|
58
|
-
@client.preview.sync.services(
|
59
|
-
.sync_maps(
|
58
|
+
@client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
59
|
+
.sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
60
60
|
}.to raise_exception(Twilio::REST::TwilioError)
|
61
61
|
|
62
62
|
values = {}
|
@@ -73,8 +73,8 @@ describe 'SyncMap' do
|
|
73
73
|
nil,
|
74
74
|
))
|
75
75
|
|
76
|
-
actual = @client.preview.sync.services(
|
77
|
-
.sync_maps(
|
76
|
+
actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
77
|
+
.sync_maps('MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
78
78
|
|
79
79
|
expect(actual).to eq(true)
|
80
80
|
end
|
@@ -83,7 +83,7 @@ describe 'SyncMap' do
|
|
83
83
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
84
84
|
|
85
85
|
expect {
|
86
|
-
@client.preview.sync.services(
|
86
|
+
@client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
87
87
|
.sync_maps.create()
|
88
88
|
}.to raise_exception(Twilio::REST::TwilioError)
|
89
89
|
|
@@ -117,7 +117,7 @@ describe 'SyncMap' do
|
|
117
117
|
]
|
118
118
|
))
|
119
119
|
|
120
|
-
actual = @client.preview.sync.services(
|
120
|
+
actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
121
121
|
.sync_maps.create()
|
122
122
|
|
123
123
|
expect(actual).to_not eq(nil)
|
@@ -127,7 +127,7 @@ describe 'SyncMap' do
|
|
127
127
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
128
128
|
|
129
129
|
expect {
|
130
|
-
@client.preview.sync.services(
|
130
|
+
@client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
131
131
|
.sync_maps.list()
|
132
132
|
}.to raise_exception(Twilio::REST::TwilioError)
|
133
133
|
|
@@ -158,7 +158,7 @@ describe 'SyncMap' do
|
|
158
158
|
]
|
159
159
|
))
|
160
160
|
|
161
|
-
actual = @client.preview.sync.services(
|
161
|
+
actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
162
162
|
.sync_maps.list()
|
163
163
|
|
164
164
|
expect(actual).to_not eq(nil)
|
@@ -199,7 +199,7 @@ describe 'SyncMap' do
|
|
199
199
|
]
|
200
200
|
))
|
201
201
|
|
202
|
-
actual = @client.preview.sync.services(
|
202
|
+
actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
203
203
|
.sync_maps.list()
|
204
204
|
|
205
205
|
expect(actual).to_not eq(nil)
|
@@ -11,7 +11,7 @@ describe 'Service' do
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
12
12
|
|
13
13
|
expect {
|
14
|
-
@client.preview.sync.services(
|
14
|
+
@client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
15
15
|
}.to raise_exception(Twilio::REST::TwilioError)
|
16
16
|
|
17
17
|
values = {}
|
@@ -45,7 +45,7 @@ describe 'Service' do
|
|
45
45
|
]
|
46
46
|
))
|
47
47
|
|
48
|
-
actual = @client.preview.sync.services(
|
48
|
+
actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
49
49
|
|
50
50
|
expect(actual).to_not eq(nil)
|
51
51
|
end
|
@@ -54,7 +54,7 @@ describe 'Service' do
|
|
54
54
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
55
55
|
|
56
56
|
expect {
|
57
|
-
@client.preview.sync.services(
|
57
|
+
@client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
58
58
|
}.to raise_exception(Twilio::REST::TwilioError)
|
59
59
|
|
60
60
|
values = {}
|
@@ -71,7 +71,7 @@ describe 'Service' do
|
|
71
71
|
nil,
|
72
72
|
))
|
73
73
|
|
74
|
-
actual = @client.preview.sync.services(
|
74
|
+
actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
75
75
|
|
76
76
|
expect(actual).to eq(true)
|
77
77
|
end
|
@@ -203,7 +203,7 @@ describe 'Service' do
|
|
203
203
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
204
204
|
|
205
205
|
expect {
|
206
|
-
@client.preview.sync.services(
|
206
|
+
@client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
207
207
|
}.to raise_exception(Twilio::REST::TwilioError)
|
208
208
|
|
209
209
|
values = {}
|
@@ -237,7 +237,7 @@ describe 'Service' do
|
|
237
237
|
]
|
238
238
|
))
|
239
239
|
|
240
|
-
actual = @client.preview.sync.services(
|
240
|
+
actual = @client.preview.sync.services('ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
241
241
|
|
242
242
|
expect(actual).to_not eq(nil)
|
243
243
|
end
|
@@ -11,9 +11,9 @@ describe 'FieldValue' do
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
12
12
|
|
13
13
|
expect {
|
14
|
-
@client.preview.understand.services(
|
15
|
-
.field_types(
|
16
|
-
.field_values(
|
14
|
+
@client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
15
|
+
.field_types('UBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
16
|
+
.field_values('UCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
17
17
|
}.to raise_exception(Twilio::REST::TwilioError)
|
18
18
|
|
19
19
|
values = {}
|
@@ -42,9 +42,9 @@ describe 'FieldValue' do
|
|
42
42
|
]
|
43
43
|
))
|
44
44
|
|
45
|
-
actual = @client.preview.understand.services(
|
46
|
-
.field_types(
|
47
|
-
.field_values(
|
45
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
46
|
+
.field_types('UBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
47
|
+
.field_values('UCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
48
48
|
|
49
49
|
expect(actual).to_not eq(nil)
|
50
50
|
end
|
@@ -53,8 +53,8 @@ describe 'FieldValue' do
|
|
53
53
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
54
54
|
|
55
55
|
expect {
|
56
|
-
@client.preview.understand.services(
|
57
|
-
.field_types(
|
56
|
+
@client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
57
|
+
.field_types('UBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
58
58
|
.field_values.list()
|
59
59
|
}.to raise_exception(Twilio::REST::TwilioError)
|
60
60
|
|
@@ -85,8 +85,8 @@ describe 'FieldValue' do
|
|
85
85
|
]
|
86
86
|
))
|
87
87
|
|
88
|
-
actual = @client.preview.understand.services(
|
89
|
-
.field_types(
|
88
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
89
|
+
.field_types('UBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
90
90
|
.field_values.list()
|
91
91
|
|
92
92
|
expect(actual).to_not eq(nil)
|
@@ -123,8 +123,8 @@ describe 'FieldValue' do
|
|
123
123
|
]
|
124
124
|
))
|
125
125
|
|
126
|
-
actual = @client.preview.understand.services(
|
127
|
-
.field_types(
|
126
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
127
|
+
.field_types('UBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
128
128
|
.field_values.list()
|
129
129
|
|
130
130
|
expect(actual).to_not eq(nil)
|
@@ -134,12 +134,12 @@ describe 'FieldValue' do
|
|
134
134
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
135
135
|
|
136
136
|
expect {
|
137
|
-
@client.preview.understand.services(
|
138
|
-
.field_types(
|
139
|
-
.field_values.create(language:
|
137
|
+
@client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
138
|
+
.field_types('UBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
139
|
+
.field_values.create(language: 'language', value: 'value')
|
140
140
|
}.to raise_exception(Twilio::REST::TwilioError)
|
141
141
|
|
142
|
-
values = {'Language' =>
|
142
|
+
values = {'Language' => 'language', 'Value' => 'value', }
|
143
143
|
expect(
|
144
144
|
@holodeck.has_request?(Holodeck::Request.new(
|
145
145
|
method: 'post',
|
@@ -166,9 +166,9 @@ describe 'FieldValue' do
|
|
166
166
|
]
|
167
167
|
))
|
168
168
|
|
169
|
-
actual = @client.preview.understand.services(
|
170
|
-
.field_types(
|
171
|
-
.field_values.create(language:
|
169
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
170
|
+
.field_types('UBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
171
|
+
.field_values.create(language: 'language', value: 'value')
|
172
172
|
|
173
173
|
expect(actual).to_not eq(nil)
|
174
174
|
end
|
@@ -177,9 +177,9 @@ describe 'FieldValue' do
|
|
177
177
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
178
178
|
|
179
179
|
expect {
|
180
|
-
@client.preview.understand.services(
|
181
|
-
.field_types(
|
182
|
-
.field_values(
|
180
|
+
@client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
181
|
+
.field_types('UBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
182
|
+
.field_values('UCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
183
183
|
}.to raise_exception(Twilio::REST::TwilioError)
|
184
184
|
|
185
185
|
values = {}
|
@@ -196,9 +196,9 @@ describe 'FieldValue' do
|
|
196
196
|
nil,
|
197
197
|
))
|
198
198
|
|
199
|
-
actual = @client.preview.understand.services(
|
200
|
-
.field_types(
|
201
|
-
.field_values(
|
199
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
200
|
+
.field_types('UBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
201
|
+
.field_values('UCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
202
202
|
|
203
203
|
expect(actual).to eq(true)
|
204
204
|
end
|
@@ -11,8 +11,8 @@ describe 'FieldType' do
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
12
12
|
|
13
13
|
expect {
|
14
|
-
@client.preview.understand.services(
|
15
|
-
.field_types(
|
14
|
+
@client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
15
|
+
.field_types('UBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
17
17
|
|
18
18
|
values = {}
|
@@ -43,8 +43,8 @@ describe 'FieldType' do
|
|
43
43
|
]
|
44
44
|
))
|
45
45
|
|
46
|
-
actual = @client.preview.understand.services(
|
47
|
-
.field_types(
|
46
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
47
|
+
.field_types('UBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
48
48
|
|
49
49
|
expect(actual).to_not eq(nil)
|
50
50
|
end
|
@@ -53,7 +53,7 @@ describe 'FieldType' do
|
|
53
53
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
54
54
|
|
55
55
|
expect {
|
56
|
-
@client.preview.understand.services(
|
56
|
+
@client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
57
57
|
.field_types.list()
|
58
58
|
}.to raise_exception(Twilio::REST::TwilioError)
|
59
59
|
|
@@ -84,7 +84,7 @@ describe 'FieldType' do
|
|
84
84
|
]
|
85
85
|
))
|
86
86
|
|
87
|
-
actual = @client.preview.understand.services(
|
87
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
88
88
|
.field_types.list()
|
89
89
|
|
90
90
|
expect(actual).to_not eq(nil)
|
@@ -123,7 +123,7 @@ describe 'FieldType' do
|
|
123
123
|
]
|
124
124
|
))
|
125
125
|
|
126
|
-
actual = @client.preview.understand.services(
|
126
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
127
127
|
.field_types.list()
|
128
128
|
|
129
129
|
expect(actual).to_not eq(nil)
|
@@ -133,11 +133,11 @@ describe 'FieldType' do
|
|
133
133
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
134
134
|
|
135
135
|
expect {
|
136
|
-
@client.preview.understand.services(
|
137
|
-
.field_types.create(unique_name:
|
136
|
+
@client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
137
|
+
.field_types.create(unique_name: 'unique_name')
|
138
138
|
}.to raise_exception(Twilio::REST::TwilioError)
|
139
139
|
|
140
|
-
values = {'UniqueName' =>
|
140
|
+
values = {'UniqueName' => 'unique_name', }
|
141
141
|
expect(
|
142
142
|
@holodeck.has_request?(Holodeck::Request.new(
|
143
143
|
method: 'post',
|
@@ -166,8 +166,8 @@ describe 'FieldType' do
|
|
166
166
|
]
|
167
167
|
))
|
168
168
|
|
169
|
-
actual = @client.preview.understand.services(
|
170
|
-
.field_types.create(unique_name:
|
169
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
170
|
+
.field_types.create(unique_name: 'unique_name')
|
171
171
|
|
172
172
|
expect(actual).to_not eq(nil)
|
173
173
|
end
|
@@ -176,8 +176,8 @@ describe 'FieldType' do
|
|
176
176
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
177
177
|
|
178
178
|
expect {
|
179
|
-
@client.preview.understand.services(
|
180
|
-
.field_types(
|
179
|
+
@client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
180
|
+
.field_types('UBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
181
181
|
}.to raise_exception(Twilio::REST::TwilioError)
|
182
182
|
|
183
183
|
values = {}
|
@@ -208,8 +208,8 @@ describe 'FieldType' do
|
|
208
208
|
]
|
209
209
|
))
|
210
210
|
|
211
|
-
actual = @client.preview.understand.services(
|
212
|
-
.field_types(
|
211
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
212
|
+
.field_types('UBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
213
213
|
|
214
214
|
expect(actual).to_not eq(nil)
|
215
215
|
end
|
@@ -218,8 +218,8 @@ describe 'FieldType' do
|
|
218
218
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
219
219
|
|
220
220
|
expect {
|
221
|
-
@client.preview.understand.services(
|
222
|
-
.field_types(
|
221
|
+
@client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
222
|
+
.field_types('UBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
223
223
|
}.to raise_exception(Twilio::REST::TwilioError)
|
224
224
|
|
225
225
|
values = {}
|
@@ -236,8 +236,8 @@ describe 'FieldType' do
|
|
236
236
|
nil,
|
237
237
|
))
|
238
238
|
|
239
|
-
actual = @client.preview.understand.services(
|
240
|
-
.field_types(
|
239
|
+
actual = @client.preview.understand.services('UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
240
|
+
.field_types('UBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
241
241
|
|
242
242
|
expect(actual).to eq(true)
|
243
243
|
end
|