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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b61bb869a4e198c0bec01878527e08e1923a8b8a
|
4
|
+
data.tar.gz: 843793d920e54949decc3e2ab10df1e5ca6e18b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab7d228e4ab9f24f3e387de64e77f0574e378981a3556fe93ec42ed1f285e0737d71f13d378fab006ee93f3a29d45688200fb70641f58b00e48c287da44fa133
|
7
|
+
data.tar.gz: a32ac855b80a7e40b0c275d651db8523de2262f66cdd2031bed8f420a858038d83407a10ebee945e848d2a758613dcae84c1a83c969f8fb453932c717a194ead
|
data/CHANGES.md
CHANGED
@@ -1,6 +1,24 @@
|
|
1
1
|
twilio-ruby changelog
|
2
2
|
=====================
|
3
3
|
|
4
|
+
[2018-02-23] Version 5.6.4
|
5
|
+
---------------------------
|
6
|
+
**Library**
|
7
|
+
- PR #385 - Fix ClientCapability appParams
|
8
|
+
|
9
|
+
**Api**
|
10
|
+
- Add `trim` param to Outbound Calls API
|
11
|
+
|
12
|
+
**Lookups**
|
13
|
+
- Add support for `fraud` lookup type
|
14
|
+
|
15
|
+
**Numbers**
|
16
|
+
- Initial Release
|
17
|
+
|
18
|
+
**Video**
|
19
|
+
- [composer] Add `SEQUENCE` value to available layouts, and `trim` and `reuse` params.
|
20
|
+
|
21
|
+
|
4
22
|
[2018-02-09] Version 5.6.3
|
5
23
|
---------------------------
|
6
24
|
**Api**
|
data/README.md
CHANGED
@@ -27,13 +27,13 @@ in-line code documentation here in the library.
|
|
27
27
|
To install using [Bundler][bundler] grab the latest stable version:
|
28
28
|
|
29
29
|
```ruby
|
30
|
-
gem 'twilio-ruby', '~> 5.6.
|
30
|
+
gem 'twilio-ruby', '~> 5.6.4'
|
31
31
|
```
|
32
32
|
|
33
33
|
To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
|
34
34
|
|
35
35
|
```bash
|
36
|
-
gem install twilio-ruby -v 5.6.
|
36
|
+
gem install twilio-ruby -v 5.6.4
|
37
37
|
```
|
38
38
|
|
39
39
|
To build and install the development branch yourself from the latest source:
|
data/examples/print_call_log.rb
CHANGED
@@ -68,7 +68,7 @@ module Twilio
|
|
68
68
|
client_name = "clientName=#{CGI.escape(@client_name)}"
|
69
69
|
end
|
70
70
|
unless @params.empty?
|
71
|
-
params = 'appParams=' + @params.map { |k, v| CGI.escape("#{k}=#{v}") }.join('
|
71
|
+
params = 'appParams=' + @params.map { |k, v| CGI.escape("#{k}=#{v}") }.join('%26')
|
72
72
|
end
|
73
73
|
|
74
74
|
suffix = [application_sid, client_name, params].compact.join('&')
|
@@ -54,7 +54,12 @@ module Twilio
|
|
54
54
|
# efficient page size, i.e. min(limit, 1000)
|
55
55
|
# @return [Array] Array of up to limit results
|
56
56
|
def list(friendly_name: :unset, status: :unset, limit: nil, page_size: nil)
|
57
|
-
self.stream(
|
57
|
+
self.stream(
|
58
|
+
friendly_name: friendly_name,
|
59
|
+
status: status,
|
60
|
+
limit: limit,
|
61
|
+
page_size: page_size
|
62
|
+
).entries
|
58
63
|
end
|
59
64
|
|
60
65
|
##
|
@@ -249,7 +249,12 @@ module Twilio
|
|
249
249
|
params,
|
250
250
|
)
|
251
251
|
|
252
|
-
ApplicationInstance.new(
|
252
|
+
ApplicationInstance.new(
|
253
|
+
@version,
|
254
|
+
payload,
|
255
|
+
account_sid: @solution[:account_sid],
|
256
|
+
sid: @solution[:sid],
|
257
|
+
)
|
253
258
|
end
|
254
259
|
|
255
260
|
##
|
@@ -313,7 +318,12 @@ module Twilio
|
|
313
318
|
data: data,
|
314
319
|
)
|
315
320
|
|
316
|
-
ApplicationInstance.new(
|
321
|
+
ApplicationInstance.new(
|
322
|
+
@version,
|
323
|
+
payload,
|
324
|
+
account_sid: @solution[:account_sid],
|
325
|
+
sid: @solution[:sid],
|
326
|
+
)
|
317
327
|
end
|
318
328
|
|
319
329
|
##
|
@@ -231,7 +231,12 @@ module Twilio
|
|
231
231
|
params,
|
232
232
|
)
|
233
233
|
|
234
|
-
ConferenceInstance.new(
|
234
|
+
ConferenceInstance.new(
|
235
|
+
@version,
|
236
|
+
payload,
|
237
|
+
account_sid: @solution[:account_sid],
|
238
|
+
sid: @solution[:sid],
|
239
|
+
)
|
235
240
|
end
|
236
241
|
|
237
242
|
##
|
@@ -253,7 +258,12 @@ module Twilio
|
|
253
258
|
data: data,
|
254
259
|
)
|
255
260
|
|
256
|
-
ConferenceInstance.new(
|
261
|
+
ConferenceInstance.new(
|
262
|
+
@version,
|
263
|
+
payload,
|
264
|
+
account_sid: @solution[:account_sid],
|
265
|
+
sid: @solution[:sid],
|
266
|
+
)
|
257
267
|
end
|
258
268
|
|
259
269
|
##
|
@@ -169,7 +169,12 @@ module Twilio
|
|
169
169
|
params,
|
170
170
|
)
|
171
171
|
|
172
|
-
ConnectAppInstance.new(
|
172
|
+
ConnectAppInstance.new(
|
173
|
+
@version,
|
174
|
+
payload,
|
175
|
+
account_sid: @solution[:account_sid],
|
176
|
+
sid: @solution[:sid],
|
177
|
+
)
|
173
178
|
end
|
174
179
|
|
175
180
|
##
|
@@ -208,7 +213,12 @@ module Twilio
|
|
208
213
|
data: data,
|
209
214
|
)
|
210
215
|
|
211
|
-
ConnectAppInstance.new(
|
216
|
+
ConnectAppInstance.new(
|
217
|
+
@version,
|
218
|
+
payload,
|
219
|
+
account_sid: @solution[:account_sid],
|
220
|
+
sid: @solution[:sid],
|
221
|
+
)
|
212
222
|
end
|
213
223
|
|
214
224
|
##
|
@@ -198,7 +198,12 @@ module Twilio
|
|
198
198
|
params,
|
199
199
|
)
|
200
200
|
|
201
|
-
NotificationInstance.new(
|
201
|
+
NotificationInstance.new(
|
202
|
+
@version,
|
203
|
+
payload,
|
204
|
+
account_sid: @solution[:account_sid],
|
205
|
+
sid: @solution[:sid],
|
206
|
+
)
|
202
207
|
end
|
203
208
|
|
204
209
|
##
|
@@ -230,7 +230,11 @@ module Twilio
|
|
230
230
|
end
|
231
231
|
|
232
232
|
unless @members
|
233
|
-
@members = MemberList.new(
|
233
|
+
@members = MemberList.new(
|
234
|
+
@version,
|
235
|
+
account_sid: @solution[:account_sid],
|
236
|
+
queue_sid: @solution[:sid],
|
237
|
+
)
|
234
238
|
end
|
235
239
|
|
236
240
|
@members
|
@@ -66,7 +66,11 @@ module Twilio
|
|
66
66
|
def stream(friendly_name: :unset, short_code: :unset, limit: nil, page_size: nil)
|
67
67
|
limits = @version.read_limits(limit, page_size)
|
68
68
|
|
69
|
-
page = self.page(
|
69
|
+
page = self.page(
|
70
|
+
friendly_name: friendly_name,
|
71
|
+
short_code: short_code,
|
72
|
+
page_size: limits[:page_size],
|
73
|
+
)
|
70
74
|
|
71
75
|
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
72
76
|
end
|
@@ -169,7 +169,12 @@ module Twilio
|
|
169
169
|
params,
|
170
170
|
)
|
171
171
|
|
172
|
-
SigningKeyInstance.new(
|
172
|
+
SigningKeyInstance.new(
|
173
|
+
@version,
|
174
|
+
payload,
|
175
|
+
account_sid: @solution[:account_sid],
|
176
|
+
sid: @solution[:sid],
|
177
|
+
)
|
173
178
|
end
|
174
179
|
|
175
180
|
##
|
@@ -185,7 +190,12 @@ module Twilio
|
|
185
190
|
data: data,
|
186
191
|
)
|
187
192
|
|
188
|
-
SigningKeyInstance.new(
|
193
|
+
SigningKeyInstance.new(
|
194
|
+
@version,
|
195
|
+
payload,
|
196
|
+
account_sid: @solution[:account_sid],
|
197
|
+
sid: @solution[:sid],
|
198
|
+
)
|
189
199
|
end
|
190
200
|
|
191
201
|
##
|
@@ -271,7 +271,12 @@ module Twilio
|
|
271
271
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
272
272
|
|
273
273
|
if sid != :unset
|
274
|
-
return IpAccessControlListMappingContext.new(
|
274
|
+
return IpAccessControlListMappingContext.new(
|
275
|
+
@version,
|
276
|
+
@solution[:account_sid],
|
277
|
+
@solution[:sid],
|
278
|
+
sid,
|
279
|
+
)
|
275
280
|
end
|
276
281
|
|
277
282
|
unless @ip_access_control_list_mappings
|
@@ -37,7 +37,12 @@ module Twilio
|
|
37
37
|
# efficient page size, i.e. min(limit, 1000)
|
38
38
|
# @return [Array] Array of up to limit results
|
39
39
|
def list(binding_type: :unset, identity: :unset, limit: nil, page_size: nil)
|
40
|
-
self.stream(
|
40
|
+
self.stream(
|
41
|
+
binding_type: binding_type,
|
42
|
+
identity: identity,
|
43
|
+
limit: limit,
|
44
|
+
page_size: page_size
|
45
|
+
).entries
|
41
46
|
end
|
42
47
|
|
43
48
|
##
|
@@ -37,7 +37,12 @@ module Twilio
|
|
37
37
|
# efficient page size, i.e. min(limit, 1000)
|
38
38
|
# @return [Array] Array of up to limit results
|
39
39
|
def list(binding_type: :unset, identity: :unset, limit: nil, page_size: nil)
|
40
|
-
self.stream(
|
40
|
+
self.stream(
|
41
|
+
binding_type: binding_type,
|
42
|
+
identity: identity,
|
43
|
+
limit: limit,
|
44
|
+
page_size: page_size
|
45
|
+
).entries
|
41
46
|
end
|
42
47
|
|
43
48
|
##
|
@@ -119,6 +119,7 @@ module Twilio
|
|
119
119
|
'phone_number' => payload['phone_number'],
|
120
120
|
'national_format' => payload['national_format'],
|
121
121
|
'carrier' => payload['carrier'],
|
122
|
+
'fraud' => payload['fraud'],
|
122
123
|
'add_ons' => payload['add_ons'],
|
123
124
|
'url' => payload['url'],
|
124
125
|
}
|
@@ -169,6 +170,12 @@ module Twilio
|
|
169
170
|
@properties['carrier']
|
170
171
|
end
|
171
172
|
|
173
|
+
##
|
174
|
+
# @return [String] The fraud
|
175
|
+
def fraud
|
176
|
+
@properties['fraud']
|
177
|
+
end
|
178
|
+
|
172
179
|
##
|
173
180
|
# @return [Hash] The add_ons
|
174
181
|
def add_ons
|
@@ -191,7 +191,12 @@ module Twilio
|
|
191
191
|
params,
|
192
192
|
)
|
193
193
|
|
194
|
-
AlphaSenderInstance.new(
|
194
|
+
AlphaSenderInstance.new(
|
195
|
+
@version,
|
196
|
+
payload,
|
197
|
+
service_sid: @solution[:service_sid],
|
198
|
+
sid: @solution[:sid],
|
199
|
+
)
|
195
200
|
end
|
196
201
|
|
197
202
|
##
|
@@ -198,7 +198,12 @@ module Twilio
|
|
198
198
|
params,
|
199
199
|
)
|
200
200
|
|
201
|
-
PhoneNumberInstance.new(
|
201
|
+
PhoneNumberInstance.new(
|
202
|
+
@version,
|
203
|
+
payload,
|
204
|
+
service_sid: @solution[:service_sid],
|
205
|
+
sid: @solution[:sid],
|
206
|
+
)
|
202
207
|
end
|
203
208
|
|
204
209
|
##
|
@@ -252,7 +252,12 @@ module Twilio
|
|
252
252
|
raise ArgumentError, 'segment cannot be nil' if segment.nil?
|
253
253
|
|
254
254
|
if segment != :unset
|
255
|
-
return SegmentMembershipContext.new(
|
255
|
+
return SegmentMembershipContext.new(
|
256
|
+
@version,
|
257
|
+
@solution[:service_sid],
|
258
|
+
@solution[:identity],
|
259
|
+
segment,
|
260
|
+
)
|
256
261
|
end
|
257
262
|
|
258
263
|
unless @segment_memberships
|
@@ -102,7 +102,12 @@ module Twilio
|
|
102
102
|
def stream(start_date: :unset, end_date: :unset, tag: :unset, limit: nil, page_size: nil)
|
103
103
|
limits = @version.read_limits(limit, page_size)
|
104
104
|
|
105
|
-
page = self.page(
|
105
|
+
page = self.page(
|
106
|
+
start_date: start_date,
|
107
|
+
end_date: end_date,
|
108
|
+
tag: tag,
|
109
|
+
page_size: limits[:page_size],
|
110
|
+
)
|
106
111
|
|
107
112
|
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
108
113
|
end
|
@@ -198,7 +198,12 @@ module Twilio
|
|
198
198
|
params,
|
199
199
|
)
|
200
200
|
|
201
|
-
PhoneNumberInstance.new(
|
201
|
+
PhoneNumberInstance.new(
|
202
|
+
@version,
|
203
|
+
payload,
|
204
|
+
service_sid: @solution[:service_sid],
|
205
|
+
sid: @solution[:sid],
|
206
|
+
)
|
202
207
|
end
|
203
208
|
|
204
209
|
##
|
@@ -253,7 +253,11 @@ module Twilio
|
|
253
253
|
end
|
254
254
|
|
255
255
|
unless @samples
|
256
|
-
@samples = SampleList.new(
|
256
|
+
@samples = SampleList.new(
|
257
|
+
@version,
|
258
|
+
service_sid: @solution[:service_sid],
|
259
|
+
intent_sid: @solution[:sid],
|
260
|
+
)
|
257
261
|
end
|
258
262
|
|
259
263
|
@samples
|
@@ -192,7 +192,12 @@ module Twilio
|
|
192
192
|
params,
|
193
193
|
)
|
194
194
|
|
195
|
-
ModelBuildInstance.new(
|
195
|
+
ModelBuildInstance.new(
|
196
|
+
@version,
|
197
|
+
payload,
|
198
|
+
service_sid: @solution[:service_sid],
|
199
|
+
sid: @solution[:sid],
|
200
|
+
)
|
196
201
|
end
|
197
202
|
|
198
203
|
##
|
@@ -208,7 +213,12 @@ module Twilio
|
|
208
213
|
data: data,
|
209
214
|
)
|
210
215
|
|
211
|
-
ModelBuildInstance.new(
|
216
|
+
ModelBuildInstance.new(
|
217
|
+
@version,
|
218
|
+
payload,
|
219
|
+
service_sid: @solution[:service_sid],
|
220
|
+
sid: @solution[:sid],
|
221
|
+
)
|
212
222
|
end
|
213
223
|
|
214
224
|
##
|
@@ -201,7 +201,12 @@ module Twilio
|
|
201
201
|
params,
|
202
202
|
)
|
203
203
|
|
204
|
-
PhoneNumberInstance.new(
|
204
|
+
PhoneNumberInstance.new(
|
205
|
+
@version,
|
206
|
+
payload,
|
207
|
+
service_sid: @solution[:service_sid],
|
208
|
+
sid: @solution[:sid],
|
209
|
+
)
|
205
210
|
end
|
206
211
|
|
207
212
|
##
|
@@ -197,7 +197,12 @@ module Twilio
|
|
197
197
|
params,
|
198
198
|
)
|
199
199
|
|
200
|
-
SyncStreamInstance.new(
|
200
|
+
SyncStreamInstance.new(
|
201
|
+
@version,
|
202
|
+
payload,
|
203
|
+
service_sid: @solution[:service_sid],
|
204
|
+
sid: @solution[:sid],
|
205
|
+
)
|
201
206
|
end
|
202
207
|
|
203
208
|
##
|
@@ -221,7 +226,12 @@ module Twilio
|
|
221
226
|
data: data,
|
222
227
|
)
|
223
228
|
|
224
|
-
SyncStreamInstance.new(
|
229
|
+
SyncStreamInstance.new(
|
230
|
+
@version,
|
231
|
+
payload,
|
232
|
+
service_sid: @solution[:service_sid],
|
233
|
+
sid: @solution[:sid],
|
234
|
+
)
|
225
235
|
end
|
226
236
|
|
227
237
|
##
|