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 'VerificationCheck' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.acc_security.services(
|
|
15
|
-
.verification_checks.create(code:
|
|
14
|
+
@client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
|
+
.verification_checks.create(code: 'code')
|
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
17
17
|
|
|
18
|
-
values = {'Code' =>
|
|
18
|
+
values = {'Code' => 'code', }
|
|
19
19
|
expect(
|
|
20
20
|
@holodeck.has_request?(Holodeck::Request.new(
|
|
21
21
|
method: 'post',
|
|
@@ -42,8 +42,8 @@ describe 'VerificationCheck' do
|
|
|
42
42
|
]
|
|
43
43
|
))
|
|
44
44
|
|
|
45
|
-
actual = @client.preview.acc_security.services(
|
|
46
|
-
.verification_checks.create(code:
|
|
45
|
+
actual = @client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
46
|
+
.verification_checks.create(code: 'code')
|
|
47
47
|
|
|
48
48
|
expect(actual).to_not eq(nil)
|
|
49
49
|
end
|
|
@@ -11,11 +11,11 @@ describe 'Verification' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.acc_security.services(
|
|
15
|
-
.verifications.create(to:
|
|
14
|
+
@client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
|
+
.verifications.create(to: 'to', channel: 'channel')
|
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
17
17
|
|
|
18
|
-
values = {'To' =>
|
|
18
|
+
values = {'To' => 'to', 'Channel' => 'channel', }
|
|
19
19
|
expect(
|
|
20
20
|
@holodeck.has_request?(Holodeck::Request.new(
|
|
21
21
|
method: 'post',
|
|
@@ -42,8 +42,8 @@ describe 'Verification' do
|
|
|
42
42
|
]
|
|
43
43
|
))
|
|
44
44
|
|
|
45
|
-
actual = @client.preview.acc_security.services(
|
|
46
|
-
.verifications.create(to:
|
|
45
|
+
actual = @client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
46
|
+
.verifications.create(to: 'to', channel: 'channel')
|
|
47
47
|
|
|
48
48
|
expect(actual).to_not eq(nil)
|
|
49
49
|
end
|
|
@@ -11,10 +11,10 @@ describe 'Service' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.acc_security.services.create(name:
|
|
14
|
+
@client.preview.acc_security.services.create(name: 'name')
|
|
15
15
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
16
16
|
|
|
17
|
-
values = {'Name' =>
|
|
17
|
+
values = {'Name' => 'name', }
|
|
18
18
|
expect(
|
|
19
19
|
@holodeck.has_request?(Holodeck::Request.new(
|
|
20
20
|
method: 'post',
|
|
@@ -43,7 +43,7 @@ describe 'Service' do
|
|
|
43
43
|
]
|
|
44
44
|
))
|
|
45
45
|
|
|
46
|
-
actual = @client.preview.acc_security.services.create(name:
|
|
46
|
+
actual = @client.preview.acc_security.services.create(name: 'name')
|
|
47
47
|
|
|
48
48
|
expect(actual).to_not eq(nil)
|
|
49
49
|
end
|
|
@@ -52,7 +52,7 @@ describe 'Service' do
|
|
|
52
52
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
53
53
|
|
|
54
54
|
expect {
|
|
55
|
-
@client.preview.acc_security.services(
|
|
55
|
+
@client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
56
56
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
57
57
|
|
|
58
58
|
values = {}
|
|
@@ -83,7 +83,7 @@ describe 'Service' do
|
|
|
83
83
|
]
|
|
84
84
|
))
|
|
85
85
|
|
|
86
|
-
actual = @client.preview.acc_security.services(
|
|
86
|
+
actual = @client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
87
87
|
|
|
88
88
|
expect(actual).to_not eq(nil)
|
|
89
89
|
end
|
|
@@ -145,7 +145,7 @@ describe 'Service' do
|
|
|
145
145
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
146
146
|
|
|
147
147
|
expect {
|
|
148
|
-
@client.preview.acc_security.services(
|
|
148
|
+
@client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
149
149
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
150
150
|
|
|
151
151
|
values = {}
|
|
@@ -176,7 +176,7 @@ describe 'Service' do
|
|
|
176
176
|
]
|
|
177
177
|
))
|
|
178
178
|
|
|
179
|
-
actual = @client.preview.acc_security.services(
|
|
179
|
+
actual = @client.preview.acc_security.services('VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
180
180
|
|
|
181
181
|
expect(actual).to_not eq(nil)
|
|
182
182
|
end
|
|
@@ -11,7 +11,7 @@ describe 'Day' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.bulk_exports.exports(
|
|
14
|
+
@client.preview.bulk_exports.exports('resource_type') \
|
|
15
15
|
.days.list()
|
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
17
17
|
|
|
@@ -48,7 +48,7 @@ describe 'Day' do
|
|
|
48
48
|
]
|
|
49
49
|
))
|
|
50
50
|
|
|
51
|
-
actual = @client.preview.bulk_exports.exports(
|
|
51
|
+
actual = @client.preview.bulk_exports.exports('resource_type') \
|
|
52
52
|
.days.list()
|
|
53
53
|
|
|
54
54
|
expect(actual).to_not eq(nil)
|
|
@@ -11,7 +11,7 @@ describe 'ExportConfiguration' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.bulk_exports.export_configuration(
|
|
14
|
+
@client.preview.bulk_exports.export_configuration('resource_type').fetch()
|
|
15
15
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
16
16
|
|
|
17
17
|
values = {}
|
|
@@ -36,7 +36,7 @@ describe 'ExportConfiguration' do
|
|
|
36
36
|
]
|
|
37
37
|
))
|
|
38
38
|
|
|
39
|
-
actual = @client.preview.bulk_exports.export_configuration(
|
|
39
|
+
actual = @client.preview.bulk_exports.export_configuration('resource_type').fetch()
|
|
40
40
|
|
|
41
41
|
expect(actual).to_not eq(nil)
|
|
42
42
|
end
|
|
@@ -45,7 +45,7 @@ describe 'ExportConfiguration' do
|
|
|
45
45
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
46
46
|
|
|
47
47
|
expect {
|
|
48
|
-
@client.preview.bulk_exports.export_configuration(
|
|
48
|
+
@client.preview.bulk_exports.export_configuration('resource_type').update()
|
|
49
49
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
50
50
|
|
|
51
51
|
values = {}
|
|
@@ -70,7 +70,7 @@ describe 'ExportConfiguration' do
|
|
|
70
70
|
]
|
|
71
71
|
))
|
|
72
72
|
|
|
73
|
-
actual = @client.preview.bulk_exports.export_configuration(
|
|
73
|
+
actual = @client.preview.bulk_exports.export_configuration('resource_type').update()
|
|
74
74
|
|
|
75
75
|
expect(actual).to_not eq(nil)
|
|
76
76
|
end
|
|
@@ -11,7 +11,7 @@ describe 'Export' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.bulk_exports.exports(
|
|
14
|
+
@client.preview.bulk_exports.exports('resource_type').fetch()
|
|
15
15
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
16
16
|
|
|
17
17
|
values = {}
|
|
@@ -36,7 +36,7 @@ describe 'Export' do
|
|
|
36
36
|
]
|
|
37
37
|
))
|
|
38
38
|
|
|
39
|
-
actual = @client.preview.bulk_exports.exports(
|
|
39
|
+
actual = @client.preview.bulk_exports.exports('resource_type').fetch()
|
|
40
40
|
|
|
41
41
|
expect(actual).to_not eq(nil)
|
|
42
42
|
end
|
|
@@ -11,8 +11,8 @@ describe 'Certificate' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.deployed_devices.fleets(
|
|
15
|
-
.certificates(
|
|
14
|
+
@client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
|
+
.certificates('CYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
17
17
|
|
|
18
18
|
values = {}
|
|
@@ -41,8 +41,8 @@ describe 'Certificate' do
|
|
|
41
41
|
]
|
|
42
42
|
))
|
|
43
43
|
|
|
44
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
45
|
-
.certificates(
|
|
44
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
45
|
+
.certificates('CYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
46
46
|
|
|
47
47
|
expect(actual).to_not eq(nil)
|
|
48
48
|
end
|
|
@@ -51,8 +51,8 @@ describe 'Certificate' do
|
|
|
51
51
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
52
52
|
|
|
53
53
|
expect {
|
|
54
|
-
@client.preview.deployed_devices.fleets(
|
|
55
|
-
.certificates(
|
|
54
|
+
@client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
55
|
+
.certificates('CYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
56
56
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
57
57
|
|
|
58
58
|
values = {}
|
|
@@ -69,8 +69,8 @@ describe 'Certificate' do
|
|
|
69
69
|
nil,
|
|
70
70
|
))
|
|
71
71
|
|
|
72
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
73
|
-
.certificates(
|
|
72
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
73
|
+
.certificates('CYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
74
74
|
|
|
75
75
|
expect(actual).to eq(true)
|
|
76
76
|
end
|
|
@@ -79,11 +79,11 @@ describe 'Certificate' do
|
|
|
79
79
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
80
80
|
|
|
81
81
|
expect {
|
|
82
|
-
@client.preview.deployed_devices.fleets(
|
|
83
|
-
.certificates.create(certificate_data:
|
|
82
|
+
@client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
83
|
+
.certificates.create(certificate_data: 'certificate_data')
|
|
84
84
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
85
85
|
|
|
86
|
-
values = {'CertificateData' =>
|
|
86
|
+
values = {'CertificateData' => 'certificate_data', }
|
|
87
87
|
expect(
|
|
88
88
|
@holodeck.has_request?(Holodeck::Request.new(
|
|
89
89
|
method: 'post',
|
|
@@ -110,8 +110,8 @@ describe 'Certificate' do
|
|
|
110
110
|
]
|
|
111
111
|
))
|
|
112
112
|
|
|
113
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
114
|
-
.certificates.create(certificate_data:
|
|
113
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
114
|
+
.certificates.create(certificate_data: 'certificate_data')
|
|
115
115
|
|
|
116
116
|
expect(actual).to_not eq(nil)
|
|
117
117
|
end
|
|
@@ -120,7 +120,7 @@ describe 'Certificate' do
|
|
|
120
120
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
121
121
|
|
|
122
122
|
expect {
|
|
123
|
-
@client.preview.deployed_devices.fleets(
|
|
123
|
+
@client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
124
124
|
.certificates.list()
|
|
125
125
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
126
126
|
|
|
@@ -151,7 +151,7 @@ describe 'Certificate' do
|
|
|
151
151
|
]
|
|
152
152
|
))
|
|
153
153
|
|
|
154
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
154
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
155
155
|
.certificates.list()
|
|
156
156
|
|
|
157
157
|
expect(actual).to_not eq(nil)
|
|
@@ -188,7 +188,7 @@ describe 'Certificate' do
|
|
|
188
188
|
]
|
|
189
189
|
))
|
|
190
190
|
|
|
191
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
191
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
192
192
|
.certificates.list()
|
|
193
193
|
|
|
194
194
|
expect(actual).to_not eq(nil)
|
|
@@ -198,8 +198,8 @@ describe 'Certificate' do
|
|
|
198
198
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
199
199
|
|
|
200
200
|
expect {
|
|
201
|
-
@client.preview.deployed_devices.fleets(
|
|
202
|
-
.certificates(
|
|
201
|
+
@client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
202
|
+
.certificates('CYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
203
203
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
204
204
|
|
|
205
205
|
values = {}
|
|
@@ -228,8 +228,8 @@ describe 'Certificate' do
|
|
|
228
228
|
]
|
|
229
229
|
))
|
|
230
230
|
|
|
231
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
232
|
-
.certificates(
|
|
231
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
232
|
+
.certificates('CYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
233
233
|
|
|
234
234
|
expect(actual).to_not eq(nil)
|
|
235
235
|
end
|
|
@@ -11,8 +11,8 @@ describe 'Deployment' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.deployed_devices.fleets(
|
|
15
|
-
.deployments(
|
|
14
|
+
@client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
|
+
.deployments('DLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
17
17
|
|
|
18
18
|
values = {}
|
|
@@ -40,8 +40,8 @@ describe 'Deployment' do
|
|
|
40
40
|
]
|
|
41
41
|
))
|
|
42
42
|
|
|
43
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
44
|
-
.deployments(
|
|
43
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
44
|
+
.deployments('DLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
45
45
|
|
|
46
46
|
expect(actual).to_not eq(nil)
|
|
47
47
|
end
|
|
@@ -50,8 +50,8 @@ describe 'Deployment' do
|
|
|
50
50
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
51
51
|
|
|
52
52
|
expect {
|
|
53
|
-
@client.preview.deployed_devices.fleets(
|
|
54
|
-
.deployments(
|
|
53
|
+
@client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
54
|
+
.deployments('DLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
55
55
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
56
56
|
|
|
57
57
|
values = {}
|
|
@@ -68,8 +68,8 @@ describe 'Deployment' do
|
|
|
68
68
|
nil,
|
|
69
69
|
))
|
|
70
70
|
|
|
71
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
72
|
-
.deployments(
|
|
71
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
72
|
+
.deployments('DLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
73
73
|
|
|
74
74
|
expect(actual).to eq(true)
|
|
75
75
|
end
|
|
@@ -78,7 +78,7 @@ describe 'Deployment' do
|
|
|
78
78
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
79
79
|
|
|
80
80
|
expect {
|
|
81
|
-
@client.preview.deployed_devices.fleets(
|
|
81
|
+
@client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
82
82
|
.deployments.create()
|
|
83
83
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
84
84
|
|
|
@@ -107,7 +107,7 @@ describe 'Deployment' do
|
|
|
107
107
|
]
|
|
108
108
|
))
|
|
109
109
|
|
|
110
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
110
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
111
111
|
.deployments.create()
|
|
112
112
|
|
|
113
113
|
expect(actual).to_not eq(nil)
|
|
@@ -117,7 +117,7 @@ describe 'Deployment' do
|
|
|
117
117
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
118
118
|
|
|
119
119
|
expect {
|
|
120
|
-
@client.preview.deployed_devices.fleets(
|
|
120
|
+
@client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
121
121
|
.deployments.list()
|
|
122
122
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
123
123
|
|
|
@@ -148,7 +148,7 @@ describe 'Deployment' do
|
|
|
148
148
|
]
|
|
149
149
|
))
|
|
150
150
|
|
|
151
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
151
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
152
152
|
.deployments.list()
|
|
153
153
|
|
|
154
154
|
expect(actual).to_not eq(nil)
|
|
@@ -184,7 +184,7 @@ describe 'Deployment' do
|
|
|
184
184
|
]
|
|
185
185
|
))
|
|
186
186
|
|
|
187
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
187
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
188
188
|
.deployments.list()
|
|
189
189
|
|
|
190
190
|
expect(actual).to_not eq(nil)
|
|
@@ -194,8 +194,8 @@ describe 'Deployment' do
|
|
|
194
194
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
195
195
|
|
|
196
196
|
expect {
|
|
197
|
-
@client.preview.deployed_devices.fleets(
|
|
198
|
-
.deployments(
|
|
197
|
+
@client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
198
|
+
.deployments('DLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
199
199
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
200
200
|
|
|
201
201
|
values = {}
|
|
@@ -223,8 +223,8 @@ describe 'Deployment' do
|
|
|
223
223
|
]
|
|
224
224
|
))
|
|
225
225
|
|
|
226
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
227
|
-
.deployments(
|
|
226
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
227
|
+
.deployments('DLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
228
228
|
|
|
229
229
|
expect(actual).to_not eq(nil)
|
|
230
230
|
end
|
|
@@ -11,8 +11,8 @@ describe 'Device' do
|
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
12
12
|
|
|
13
13
|
expect {
|
|
14
|
-
@client.preview.deployed_devices.fleets(
|
|
15
|
-
.devices(
|
|
14
|
+
@client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
15
|
+
.devices('THaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
17
17
|
|
|
18
18
|
values = {}
|
|
@@ -44,8 +44,8 @@ describe 'Device' do
|
|
|
44
44
|
]
|
|
45
45
|
))
|
|
46
46
|
|
|
47
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
48
|
-
.devices(
|
|
47
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
48
|
+
.devices('THaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
|
49
49
|
|
|
50
50
|
expect(actual).to_not eq(nil)
|
|
51
51
|
end
|
|
@@ -54,8 +54,8 @@ describe 'Device' do
|
|
|
54
54
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
55
55
|
|
|
56
56
|
expect {
|
|
57
|
-
@client.preview.deployed_devices.fleets(
|
|
58
|
-
.devices(
|
|
57
|
+
@client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
58
|
+
.devices('THaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
59
59
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
60
60
|
|
|
61
61
|
values = {}
|
|
@@ -72,8 +72,8 @@ describe 'Device' do
|
|
|
72
72
|
nil,
|
|
73
73
|
))
|
|
74
74
|
|
|
75
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
76
|
-
.devices(
|
|
75
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
76
|
+
.devices('THaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
|
77
77
|
|
|
78
78
|
expect(actual).to eq(true)
|
|
79
79
|
end
|
|
@@ -82,7 +82,7 @@ describe 'Device' do
|
|
|
82
82
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
83
83
|
|
|
84
84
|
expect {
|
|
85
|
-
@client.preview.deployed_devices.fleets(
|
|
85
|
+
@client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
86
86
|
.devices.create()
|
|
87
87
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
88
88
|
|
|
@@ -115,7 +115,7 @@ describe 'Device' do
|
|
|
115
115
|
]
|
|
116
116
|
))
|
|
117
117
|
|
|
118
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
118
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
119
119
|
.devices.create()
|
|
120
120
|
|
|
121
121
|
expect(actual).to_not eq(nil)
|
|
@@ -125,7 +125,7 @@ describe 'Device' do
|
|
|
125
125
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
126
126
|
|
|
127
127
|
expect {
|
|
128
|
-
@client.preview.deployed_devices.fleets(
|
|
128
|
+
@client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
129
129
|
.devices.list()
|
|
130
130
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
131
131
|
|
|
@@ -156,7 +156,7 @@ describe 'Device' do
|
|
|
156
156
|
]
|
|
157
157
|
))
|
|
158
158
|
|
|
159
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
159
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
160
160
|
.devices.list()
|
|
161
161
|
|
|
162
162
|
expect(actual).to_not eq(nil)
|
|
@@ -196,7 +196,7 @@ describe 'Device' do
|
|
|
196
196
|
]
|
|
197
197
|
))
|
|
198
198
|
|
|
199
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
199
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
200
200
|
.devices.list()
|
|
201
201
|
|
|
202
202
|
expect(actual).to_not eq(nil)
|
|
@@ -206,8 +206,8 @@ describe 'Device' do
|
|
|
206
206
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
|
207
207
|
|
|
208
208
|
expect {
|
|
209
|
-
@client.preview.deployed_devices.fleets(
|
|
210
|
-
.devices(
|
|
209
|
+
@client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
210
|
+
.devices('THaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
211
211
|
}.to raise_exception(Twilio::REST::TwilioError)
|
|
212
212
|
|
|
213
213
|
values = {}
|
|
@@ -239,8 +239,8 @@ describe 'Device' do
|
|
|
239
239
|
]
|
|
240
240
|
))
|
|
241
241
|
|
|
242
|
-
actual = @client.preview.deployed_devices.fleets(
|
|
243
|
-
.devices(
|
|
242
|
+
actual = @client.preview.deployed_devices.fleets('FLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
|
243
|
+
.devices('THaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
|
244
244
|
|
|
245
245
|
expect(actual).to_not eq(nil)
|
|
246
246
|
end
|