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,7 +11,7 @@ describe 'FeedbackSummary' do
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
12
12
|
|
13
13
|
expect {
|
14
|
-
@client.api.v2010.accounts(
|
14
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
15
15
|
.calls \
|
16
16
|
.feedback_summaries.create(start_date: Date.new(2008, 1, 2), end_date: Date.new(2008, 1, 2))
|
17
17
|
}.to raise_exception(Twilio::REST::TwilioError)
|
@@ -57,7 +57,7 @@ describe 'FeedbackSummary' do
|
|
57
57
|
]
|
58
58
|
))
|
59
59
|
|
60
|
-
actual = @client.api.v2010.accounts(
|
60
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
61
61
|
.calls \
|
62
62
|
.feedback_summaries.create(start_date: Date.new(2008, 1, 2), end_date: Date.new(2008, 1, 2))
|
63
63
|
|
@@ -68,9 +68,9 @@ describe 'FeedbackSummary' do
|
|
68
68
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
69
69
|
|
70
70
|
expect {
|
71
|
-
@client.api.v2010.accounts(
|
71
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
72
72
|
.calls \
|
73
|
-
.feedback_summaries(
|
73
|
+
.feedback_summaries('FSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
74
74
|
}.to raise_exception(Twilio::REST::TwilioError)
|
75
75
|
|
76
76
|
values = {}
|
@@ -110,9 +110,9 @@ describe 'FeedbackSummary' do
|
|
110
110
|
]
|
111
111
|
))
|
112
112
|
|
113
|
-
actual = @client.api.v2010.accounts(
|
113
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
114
114
|
.calls \
|
115
|
-
.feedback_summaries(
|
115
|
+
.feedback_summaries('FSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
116
116
|
|
117
117
|
expect(actual).to_not eq(nil)
|
118
118
|
end
|
@@ -121,9 +121,9 @@ describe 'FeedbackSummary' do
|
|
121
121
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
122
122
|
|
123
123
|
expect {
|
124
|
-
@client.api.v2010.accounts(
|
124
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
125
125
|
.calls \
|
126
|
-
.feedback_summaries(
|
126
|
+
.feedback_summaries('FSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
127
127
|
}.to raise_exception(Twilio::REST::TwilioError)
|
128
128
|
|
129
129
|
values = {}
|
@@ -140,9 +140,9 @@ describe 'FeedbackSummary' do
|
|
140
140
|
nil,
|
141
141
|
))
|
142
142
|
|
143
|
-
actual = @client.api.v2010.accounts(
|
143
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
144
144
|
.calls \
|
145
|
-
.feedback_summaries(
|
145
|
+
.feedback_summaries('FSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
146
146
|
|
147
147
|
expect(actual).to eq(true)
|
148
148
|
end
|
@@ -11,9 +11,9 @@ describe 'Notification' do
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
12
12
|
|
13
13
|
expect {
|
14
|
-
@client.api.v2010.accounts(
|
15
|
-
.calls(
|
16
|
-
.notifications(
|
14
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
15
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
16
|
+
.notifications('NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
17
17
|
}.to raise_exception(Twilio::REST::TwilioError)
|
18
18
|
|
19
19
|
values = {}
|
@@ -50,9 +50,9 @@ describe 'Notification' do
|
|
50
50
|
]
|
51
51
|
))
|
52
52
|
|
53
|
-
actual = @client.api.v2010.accounts(
|
54
|
-
.calls(
|
55
|
-
.notifications(
|
53
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
54
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
55
|
+
.notifications('NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
56
56
|
|
57
57
|
expect(actual).to_not eq(nil)
|
58
58
|
end
|
@@ -61,9 +61,9 @@ describe 'Notification' do
|
|
61
61
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
62
62
|
|
63
63
|
expect {
|
64
|
-
@client.api.v2010.accounts(
|
65
|
-
.calls(
|
66
|
-
.notifications(
|
64
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
65
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
66
|
+
.notifications('NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
67
67
|
}.to raise_exception(Twilio::REST::TwilioError)
|
68
68
|
|
69
69
|
values = {}
|
@@ -80,9 +80,9 @@ describe 'Notification' do
|
|
80
80
|
nil,
|
81
81
|
))
|
82
82
|
|
83
|
-
actual = @client.api.v2010.accounts(
|
84
|
-
.calls(
|
85
|
-
.notifications(
|
83
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
84
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
85
|
+
.notifications('NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
86
86
|
|
87
87
|
expect(actual).to eq(true)
|
88
88
|
end
|
@@ -91,8 +91,8 @@ describe 'Notification' do
|
|
91
91
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
92
92
|
|
93
93
|
expect {
|
94
|
-
@client.api.v2010.accounts(
|
95
|
-
.calls(
|
94
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
95
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
96
96
|
.notifications.list()
|
97
97
|
}.to raise_exception(Twilio::REST::TwilioError)
|
98
98
|
|
@@ -142,8 +142,8 @@ describe 'Notification' do
|
|
142
142
|
]
|
143
143
|
))
|
144
144
|
|
145
|
-
actual = @client.api.v2010.accounts(
|
146
|
-
.calls(
|
145
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
146
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
147
147
|
.notifications.list()
|
148
148
|
|
149
149
|
expect(actual).to_not eq(nil)
|
@@ -170,8 +170,8 @@ describe 'Notification' do
|
|
170
170
|
]
|
171
171
|
))
|
172
172
|
|
173
|
-
actual = @client.api.v2010.accounts(
|
174
|
-
.calls(
|
173
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
174
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
175
175
|
.notifications.list()
|
176
176
|
|
177
177
|
expect(actual).to_not eq(nil)
|
@@ -11,9 +11,9 @@ describe 'Recording' do
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
12
12
|
|
13
13
|
expect {
|
14
|
-
@client.api.v2010.accounts(
|
15
|
-
.calls(
|
16
|
-
.recordings(
|
14
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
15
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
16
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
17
17
|
}.to raise_exception(Twilio::REST::TwilioError)
|
18
18
|
|
19
19
|
values = {}
|
@@ -55,9 +55,9 @@ describe 'Recording' do
|
|
55
55
|
]
|
56
56
|
))
|
57
57
|
|
58
|
-
actual = @client.api.v2010.accounts(
|
59
|
-
.calls(
|
60
|
-
.recordings(
|
58
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
59
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
60
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
61
61
|
|
62
62
|
expect(actual).to_not eq(nil)
|
63
63
|
end
|
@@ -66,9 +66,9 @@ describe 'Recording' do
|
|
66
66
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
67
67
|
|
68
68
|
expect {
|
69
|
-
@client.api.v2010.accounts(
|
70
|
-
.calls(
|
71
|
-
.recordings(
|
69
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
70
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
71
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
72
72
|
}.to raise_exception(Twilio::REST::TwilioError)
|
73
73
|
|
74
74
|
values = {}
|
@@ -85,9 +85,9 @@ describe 'Recording' do
|
|
85
85
|
nil,
|
86
86
|
))
|
87
87
|
|
88
|
-
actual = @client.api.v2010.accounts(
|
89
|
-
.calls(
|
90
|
-
.recordings(
|
88
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
89
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
90
|
+
.recordings('REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
91
91
|
|
92
92
|
expect(actual).to eq(true)
|
93
93
|
end
|
@@ -96,8 +96,8 @@ describe 'Recording' do
|
|
96
96
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
97
97
|
|
98
98
|
expect {
|
99
|
-
@client.api.v2010.accounts(
|
100
|
-
.calls(
|
99
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
100
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
101
101
|
.recordings.list()
|
102
102
|
}.to raise_exception(Twilio::REST::TwilioError)
|
103
103
|
|
@@ -152,8 +152,8 @@ describe 'Recording' do
|
|
152
152
|
]
|
153
153
|
))
|
154
154
|
|
155
|
-
actual = @client.api.v2010.accounts(
|
156
|
-
.calls(
|
155
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
156
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
157
157
|
.recordings.list()
|
158
158
|
|
159
159
|
expect(actual).to_not eq(nil)
|
@@ -177,8 +177,8 @@ describe 'Recording' do
|
|
177
177
|
]
|
178
178
|
))
|
179
179
|
|
180
|
-
actual = @client.api.v2010.accounts(
|
181
|
-
.calls(
|
180
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
181
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
182
182
|
.recordings.list()
|
183
183
|
|
184
184
|
expect(actual).to_not eq(nil)
|
@@ -11,11 +11,11 @@ describe 'Call' do
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
12
12
|
|
13
13
|
expect {
|
14
|
-
@client.api.v2010.accounts(
|
15
|
-
.calls.create(to:
|
14
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
15
|
+
.calls.create(to: '+15558675310', from: '+15017122661')
|
16
16
|
}.to raise_exception(Twilio::REST::TwilioError)
|
17
17
|
|
18
|
-
values = {'To' =>
|
18
|
+
values = {'To' => '+15558675310', 'From' => '+15017122661', }
|
19
19
|
expect(
|
20
20
|
@holodeck.has_request?(Holodeck::Request.new(
|
21
21
|
method: 'post',
|
@@ -63,8 +63,8 @@ describe 'Call' do
|
|
63
63
|
]
|
64
64
|
))
|
65
65
|
|
66
|
-
actual = @client.api.v2010.accounts(
|
67
|
-
.calls.create(to:
|
66
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
67
|
+
.calls.create(to: '+15558675310', from: '+15017122661')
|
68
68
|
|
69
69
|
expect(actual).to_not eq(nil)
|
70
70
|
end
|
@@ -73,8 +73,8 @@ describe 'Call' do
|
|
73
73
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
74
74
|
|
75
75
|
expect {
|
76
|
-
@client.api.v2010.accounts(
|
77
|
-
.calls(
|
76
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
77
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
78
78
|
}.to raise_exception(Twilio::REST::TwilioError)
|
79
79
|
|
80
80
|
values = {}
|
@@ -91,8 +91,8 @@ describe 'Call' do
|
|
91
91
|
nil,
|
92
92
|
))
|
93
93
|
|
94
|
-
actual = @client.api.v2010.accounts(
|
95
|
-
.calls(
|
94
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
95
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
96
96
|
|
97
97
|
expect(actual).to eq(true)
|
98
98
|
end
|
@@ -101,8 +101,8 @@ describe 'Call' do
|
|
101
101
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
102
102
|
|
103
103
|
expect {
|
104
|
-
@client.api.v2010.accounts(
|
105
|
-
.calls(
|
104
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
105
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
106
106
|
}.to raise_exception(Twilio::REST::TwilioError)
|
107
107
|
|
108
108
|
values = {}
|
@@ -150,8 +150,8 @@ describe 'Call' do
|
|
150
150
|
]
|
151
151
|
))
|
152
152
|
|
153
|
-
actual = @client.api.v2010.accounts(
|
154
|
-
.calls(
|
153
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
154
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
155
155
|
|
156
156
|
expect(actual).to_not eq(nil)
|
157
157
|
end
|
@@ -160,7 +160,7 @@ describe 'Call' do
|
|
160
160
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
161
161
|
|
162
162
|
expect {
|
163
|
-
@client.api.v2010.accounts(
|
163
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
164
164
|
.calls.list()
|
165
165
|
}.to raise_exception(Twilio::REST::TwilioError)
|
166
166
|
|
@@ -221,7 +221,7 @@ describe 'Call' do
|
|
221
221
|
]
|
222
222
|
))
|
223
223
|
|
224
|
-
actual = @client.api.v2010.accounts(
|
224
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
225
225
|
.calls.list()
|
226
226
|
|
227
227
|
expect(actual).to_not eq(nil)
|
@@ -245,7 +245,7 @@ describe 'Call' do
|
|
245
245
|
]
|
246
246
|
))
|
247
247
|
|
248
|
-
actual = @client.api.v2010.accounts(
|
248
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
249
249
|
.calls.list()
|
250
250
|
|
251
251
|
expect(actual).to_not eq(nil)
|
@@ -255,8 +255,8 @@ describe 'Call' do
|
|
255
255
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
256
256
|
|
257
257
|
expect {
|
258
|
-
@client.api.v2010.accounts(
|
259
|
-
.calls(
|
258
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
259
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
260
260
|
}.to raise_exception(Twilio::REST::TwilioError)
|
261
261
|
|
262
262
|
values = {}
|
@@ -304,8 +304,8 @@ describe 'Call' do
|
|
304
304
|
]
|
305
305
|
))
|
306
306
|
|
307
|
-
actual = @client.api.v2010.accounts(
|
308
|
-
.calls(
|
307
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
308
|
+
.calls('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
309
309
|
|
310
310
|
expect(actual).to_not eq(nil)
|
311
311
|
end
|
@@ -11,9 +11,9 @@ describe 'Participant' do
|
|
11
11
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
12
12
|
|
13
13
|
expect {
|
14
|
-
@client.api.v2010.accounts(
|
15
|
-
.conferences(
|
16
|
-
.participants(
|
14
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
15
|
+
.conferences('CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
16
|
+
.participants('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
17
17
|
}.to raise_exception(Twilio::REST::TwilioError)
|
18
18
|
|
19
19
|
values = {}
|
@@ -44,9 +44,9 @@ describe 'Participant' do
|
|
44
44
|
]
|
45
45
|
))
|
46
46
|
|
47
|
-
actual = @client.api.v2010.accounts(
|
48
|
-
.conferences(
|
49
|
-
.participants(
|
47
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
48
|
+
.conferences('CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
49
|
+
.participants('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
|
50
50
|
|
51
51
|
expect(actual).to_not eq(nil)
|
52
52
|
end
|
@@ -55,9 +55,9 @@ describe 'Participant' do
|
|
55
55
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
56
56
|
|
57
57
|
expect {
|
58
|
-
@client.api.v2010.accounts(
|
59
|
-
.conferences(
|
60
|
-
.participants(
|
58
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
59
|
+
.conferences('CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
60
|
+
.participants('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
61
61
|
}.to raise_exception(Twilio::REST::TwilioError)
|
62
62
|
|
63
63
|
values = {}
|
@@ -88,9 +88,9 @@ describe 'Participant' do
|
|
88
88
|
]
|
89
89
|
))
|
90
90
|
|
91
|
-
actual = @client.api.v2010.accounts(
|
92
|
-
.conferences(
|
93
|
-
.participants(
|
91
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
92
|
+
.conferences('CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
93
|
+
.participants('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').update()
|
94
94
|
|
95
95
|
expect(actual).to_not eq(nil)
|
96
96
|
end
|
@@ -99,12 +99,12 @@ describe 'Participant' do
|
|
99
99
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
100
100
|
|
101
101
|
expect {
|
102
|
-
@client.api.v2010.accounts(
|
103
|
-
.conferences(
|
104
|
-
.participants.create(from:
|
102
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
103
|
+
.conferences('CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
104
|
+
.participants.create(from: '+15017122661', to: '+15558675310')
|
105
105
|
}.to raise_exception(Twilio::REST::TwilioError)
|
106
106
|
|
107
|
-
values = {'From' =>
|
107
|
+
values = {'From' => '+15017122661', 'To' => '+15558675310', }
|
108
108
|
expect(
|
109
109
|
@holodeck.has_request?(Holodeck::Request.new(
|
110
110
|
method: 'post',
|
@@ -133,9 +133,9 @@ describe 'Participant' do
|
|
133
133
|
]
|
134
134
|
))
|
135
135
|
|
136
|
-
actual = @client.api.v2010.accounts(
|
137
|
-
.conferences(
|
138
|
-
.participants.create(from:
|
136
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
137
|
+
.conferences('CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
138
|
+
.participants.create(from: '+15017122661', to: '+15558675310')
|
139
139
|
|
140
140
|
expect(actual).to_not eq(nil)
|
141
141
|
end
|
@@ -160,9 +160,9 @@ describe 'Participant' do
|
|
160
160
|
]
|
161
161
|
))
|
162
162
|
|
163
|
-
actual = @client.api.v2010.accounts(
|
164
|
-
.conferences(
|
165
|
-
.participants.create(from:
|
163
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
164
|
+
.conferences('CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
165
|
+
.participants.create(from: '+15017122661', to: '+15558675310')
|
166
166
|
|
167
167
|
expect(actual).to_not eq(nil)
|
168
168
|
end
|
@@ -171,9 +171,9 @@ describe 'Participant' do
|
|
171
171
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
172
172
|
|
173
173
|
expect {
|
174
|
-
@client.api.v2010.accounts(
|
175
|
-
.conferences(
|
176
|
-
.participants(
|
174
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
175
|
+
.conferences('CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
176
|
+
.participants('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
177
177
|
}.to raise_exception(Twilio::REST::TwilioError)
|
178
178
|
|
179
179
|
values = {}
|
@@ -190,9 +190,9 @@ describe 'Participant' do
|
|
190
190
|
nil,
|
191
191
|
))
|
192
192
|
|
193
|
-
actual = @client.api.v2010.accounts(
|
194
|
-
.conferences(
|
195
|
-
.participants(
|
193
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
194
|
+
.conferences('CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
195
|
+
.participants('CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').delete()
|
196
196
|
|
197
197
|
expect(actual).to eq(true)
|
198
198
|
end
|
@@ -201,8 +201,8 @@ describe 'Participant' do
|
|
201
201
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
202
202
|
|
203
203
|
expect {
|
204
|
-
@client.api.v2010.accounts(
|
205
|
-
.conferences(
|
204
|
+
@client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
205
|
+
.conferences('CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
206
206
|
.participants.list()
|
207
207
|
}.to raise_exception(Twilio::REST::TwilioError)
|
208
208
|
|
@@ -246,8 +246,8 @@ describe 'Participant' do
|
|
246
246
|
]
|
247
247
|
))
|
248
248
|
|
249
|
-
actual = @client.api.v2010.accounts(
|
250
|
-
.conferences(
|
249
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
250
|
+
.conferences('CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
251
251
|
.participants.list()
|
252
252
|
|
253
253
|
expect(actual).to_not eq(nil)
|
@@ -271,8 +271,8 @@ describe 'Participant' do
|
|
271
271
|
]
|
272
272
|
))
|
273
273
|
|
274
|
-
actual = @client.api.v2010.accounts(
|
275
|
-
.conferences(
|
274
|
+
actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
275
|
+
.conferences('CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
|
276
276
|
.participants.list()
|
277
277
|
|
278
278
|
expect(actual).to_not eq(nil)
|