twilio-ruby 5.0.0 → 5.1.0
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 +30 -2
- data/CONTRIBUTING.md +159 -0
- data/ISSUE_TEMPLATE.md +26 -0
- data/LICENSE.md +1 -1
- data/README.md +6 -7
- data/VERSIONS.md +21 -49
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +11 -18
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +358 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +439 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +48 -11
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +22 -12
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +11 -18
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +11 -11
- data/lib/twilio-ruby/rest/api/v2010/account.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v1/service.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +11 -11
- data/lib/twilio-ruby/rest/chat/v2/service.rb +11 -11
- data/lib/twilio-ruby/rest/client.rb +42 -0
- data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +334 -0
- data/lib/twilio-ruby/rest/fax/v1/fax.rb +549 -0
- data/lib/twilio-ruby/rest/fax/v1.rb +41 -0
- data/lib/twilio-ruby/rest/fax.rb +44 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +11 -11
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +11 -11
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +360 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +367 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +367 -0
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +645 -0
- data/lib/twilio-ruby/rest/messaging/v1.rb +41 -0
- data/lib/twilio-ruby/rest/messaging.rb +44 -0
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +11 -11
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +11 -11
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +411 -0
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +438 -0
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +294 -0
- data/lib/twilio-ruby/rest/notify/v1/service/segment.rb +230 -0
- data/lib/twilio-ruby/rest/notify/v1/service/user/segment_memberships.rb +262 -0
- data/lib/twilio-ruby/rest/notify/v1/service/user/user_binding.rb +442 -0
- data/lib/twilio-ruby/rest/notify/v1/service/user.rb +453 -0
- data/lib/twilio-ruby/rest/notify/v1/service.rb +647 -0
- data/lib/twilio-ruby/rest/notify/v1.rb +56 -0
- data/lib/twilio-ruby/rest/notify.rb +52 -0
- data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +216 -0
- data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +211 -0
- data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +251 -0
- data/lib/twilio-ruby/rest/preview/bulk_exports.rb +56 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +570 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers.rb +42 -0
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +309 -0
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +341 -0
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +349 -0
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +448 -0
- data/lib/twilio-ruby/rest/preview/marketplace.rb +58 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/phone_number.rb +367 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/session/interaction.rb +437 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/session/participant/message_interaction.rb +460 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/session/participant.rb +514 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/session.rb +544 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/short_code.rb +367 -0
- data/lib/twilio-ruby/rest/preview/proxy/service.rb +508 -0
- data/lib/twilio-ruby/rest/preview/proxy.rb +41 -0
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +403 -0
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +453 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +438 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +403 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +446 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +440 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +403 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +446 -0
- data/lib/twilio-ruby/rest/preview/sync/service.rb +512 -0
- data/lib/twilio-ruby/rest/preview/sync.rb +41 -0
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +390 -0
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +443 -0
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +244 -0
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +552 -0
- data/lib/twilio-ruby/rest/preview/wireless.rb +71 -0
- data/lib/twilio-ruby/rest/preview.rb +145 -0
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +11 -11
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +11 -11
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +11 -11
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +403 -0
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +453 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +438 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +403 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +446 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +440 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +403 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +446 -0
- data/lib/twilio-ruby/rest/sync/v1/service.rb +512 -0
- data/lib/twilio-ruby/rest/sync/v1.rb +41 -0
- data/lib/twilio-ruby/rest/sync.rb +44 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +11 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +11 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +143 -13
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +11 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +11 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +11 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +11 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +143 -13
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +11 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +11 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +11 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +11 -11
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +11 -11
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +11 -11
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +11 -11
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +11 -11
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +11 -11
- data/lib/twilio-ruby/rest/video/v1/recording.rb +11 -11
- data/lib/twilio-ruby/rest/video/v1/room/recording.rb +11 -11
- data/lib/twilio-ruby/rest/video/v1/room.rb +11 -11
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +375 -0
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +460 -0
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +241 -0
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +556 -0
- data/lib/twilio-ruby/rest/wireless/v1.rb +71 -0
- data/lib/twilio-ruby/rest/wireless.rb +60 -0
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/integration/api/v2010/account/call/recording_spec.rb +0 -2
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension_spec.rb +135 -0
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on_spec.rb +223 -0
- data/spec/integration/api/v2010/account/recording_spec.rb +0 -2
- data/spec/integration/fax/v1/fax/fax_media_spec.rb +126 -0
- data/spec/integration/fax/v1/fax_spec.rb +272 -0
- data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +170 -0
- data/spec/integration/messaging/v1/service/phone_number_spec.rb +201 -0
- data/spec/integration/messaging/v1/service/short_code_spec.rb +173 -0
- data/spec/integration/messaging/v1/service_spec.rb +263 -0
- data/spec/integration/notify/v1/credential_spec.rb +223 -0
- data/spec/integration/notify/v1/service/binding_spec.rb +227 -0
- data/spec/integration/notify/v1/service/notification_spec.rb +97 -0
- data/spec/integration/notify/v1/service/segment_spec.rb +84 -0
- data/spec/integration/notify/v1/service/user/segment_memberships_spec.rb +118 -0
- data/spec/integration/notify/v1/service/user/user_binding_spec.rb +269 -0
- data/spec/integration/notify/v1/service/user_spec.rb +213 -0
- data/spec/integration/notify/v1/service_spec.rb +280 -0
- data/spec/integration/preview/bulk_exports/export/day_spec.rb +56 -0
- data/spec/integration/preview/bulk_exports/export_configuration_spec.rb +79 -0
- data/spec/integration/preview/bulk_exports/export_spec.rb +43 -0
- data/spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb +280 -0
- data/spec/integration/preview/marketplace/available_add_on/available_add_on_extension_spec.rb +121 -0
- data/spec/integration/preview/marketplace/available_add_on_spec.rb +142 -0
- data/spec/integration/preview/marketplace/installed_add_on/installed_add_on_extension_spec.rb +164 -0
- data/spec/integration/preview/marketplace/installed_add_on_spec.rb +252 -0
- data/spec/integration/preview/proxy/service/phone_number_spec.rb +173 -0
- data/spec/integration/preview/proxy/service/session/interaction_spec.rb +104 -0
- data/spec/integration/preview/proxy/service/session/participant/message_interaction_spec.rb +164 -0
- data/spec/integration/preview/proxy/service/session/participant_spec.rb +226 -0
- data/spec/integration/preview/proxy/service/session_spec.rb +216 -0
- data/spec/integration/preview/proxy/service/short_code_spec.rb +173 -0
- data/spec/integration/preview/proxy/service_spec.rb +200 -0
- data/spec/integration/preview/sync/service/document/document_permission_spec.rb +206 -0
- data/spec/integration/preview/sync/service/document_spec.rb +254 -0
- data/spec/integration/preview/sync/service/sync_list/sync_list_item_spec.rb +256 -0
- data/spec/integration/preview/sync/service/sync_list/sync_list_permission_spec.rb +206 -0
- data/spec/integration/preview/sync/service/sync_list_spec.rb +207 -0
- data/spec/integration/preview/sync/service/sync_map/sync_map_item_spec.rb +257 -0
- data/spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb +206 -0
- data/spec/integration/preview/sync/service/sync_map_spec.rb +207 -0
- data/spec/integration/preview/sync/service_spec.rb +244 -0
- data/spec/integration/preview/wireless/command_spec.rb +169 -0
- data/spec/integration/preview/wireless/rate_plan_spec.rb +260 -0
- data/spec/integration/preview/wireless/sim/usage_spec.rb +49 -0
- data/spec/integration/preview/wireless/sim_spec.rb +208 -0
- data/spec/integration/sync/v1/service/document/document_permission_spec.rb +206 -0
- data/spec/integration/sync/v1/service/document_spec.rb +254 -0
- data/spec/integration/sync/v1/service/sync_list/sync_list_item_spec.rb +256 -0
- data/spec/integration/sync/v1/service/sync_list/sync_list_permission_spec.rb +206 -0
- data/spec/integration/sync/v1/service/sync_list_spec.rb +207 -0
- data/spec/integration/sync/v1/service/sync_map/sync_map_item_spec.rb +257 -0
- data/spec/integration/sync/v1/service/sync_map/sync_map_permission_spec.rb +206 -0
- data/spec/integration/sync/v1/service/sync_map_spec.rb +207 -0
- data/spec/integration/sync/v1/service_spec.rb +244 -0
- data/spec/integration/taskrouter/v1/workspace/task/reservation_spec.rb +5 -5
- data/spec/integration/taskrouter/v1/workspace/worker/reservation_spec.rb +5 -5
- data/spec/integration/wireless/v1/command_spec.rb +166 -0
- data/spec/integration/wireless/v1/rate_plan_spec.rb +268 -0
- data/spec/integration/wireless/v1/sim/usage_record_spec.rb +65 -0
- data/spec/integration/wireless/v1/sim_spec.rb +208 -0
- data/twilio-ruby.gemspec +1 -3
- metadata +192 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ad998d6d974a18680aa4af67eac5060956bd089
|
|
4
|
+
data.tar.gz: 2c2907bdecbc092b9cdc5d3dc51f106bbb27092f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8749bb3401a502e263e21733cc70591c86a4c6013b5aa193928be83f63921e65586cbd2b66ea06b92093091081bdca27870ada78100ca750726425cbfe4bd87c
|
|
7
|
+
data.tar.gz: 9ad4c8bc2ed44eb805f33d75f2ec9bb4ede33b5854a620d00b5b46377039ec100c3131b2585e7ea24cc41ba35d74db6ebb8ec002217e3c80b656b9226605cf19
|
data/CHANGES.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
twilio-ruby changelog
|
|
2
2
|
=====================
|
|
3
|
+
[2017-07-27] Version 5.1.0
|
|
4
|
+
---------------------------
|
|
5
|
+
This release adds Beta and Preview products to main artifact.
|
|
6
|
+
|
|
7
|
+
Previously, Beta and Preview products were only included in the alpha artifact.
|
|
8
|
+
They are now being included in the main artifact to ease product
|
|
9
|
+
discoverability and the collective operational overhead of maintaining multiple
|
|
10
|
+
artifacts per library.
|
|
11
|
+
|
|
12
|
+
**Api**
|
|
13
|
+
- Remove unused `encryption_type` property on Recordings *(breaking change)*
|
|
14
|
+
- Update `status` enum for Messages to include 'accepted'
|
|
15
|
+
- Update `AnnounceMethod` parameter naming for consistency
|
|
16
|
+
|
|
17
|
+
**Messaging**
|
|
18
|
+
- Fix incorrectly typed capabilities property for PhoneNumbers.
|
|
19
|
+
|
|
20
|
+
**Notify**
|
|
21
|
+
- Add `ToBinding` optional parameter on Notifications resource creation. Accepted values are json strings.
|
|
22
|
+
|
|
23
|
+
**Preview**
|
|
24
|
+
- Add `sms_application_sid` to HostedNumberOrders.
|
|
25
|
+
- Add `verification_attempts` to HostedNumberOrders.
|
|
26
|
+
|
|
27
|
+
**Taskrouter**
|
|
28
|
+
- Fully support conference functionality in reservations.
|
|
29
|
+
|
|
30
|
+
|
|
3
31
|
[2017-07-13] Version 5.0.0
|
|
4
32
|
--------------------------------
|
|
5
33
|
- Moving to General Availability
|
|
@@ -42,11 +70,11 @@ twilio-ruby changelog
|
|
|
42
70
|
[2017-06-19] Version 5.0.0.rc23
|
|
43
71
|
-------------------------------
|
|
44
72
|
- Fixed ClientCapability parameter encoded bug.
|
|
45
|
-
- Optional URL parameter for TwiML Play verb.
|
|
73
|
+
- Optional URL parameter for TwiML Play verb.
|
|
46
74
|
|
|
47
75
|
[2017-06-15] Version 5.0.0.rc22
|
|
48
76
|
-------------------------------
|
|
49
|
-
- Refactor JWT token constructors
|
|
77
|
+
- Refactor JWT token constructors
|
|
50
78
|
|
|
51
79
|
|
|
52
80
|
[2017-05-24] Version 5.0.0.rc21
|
data/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
# Contributing to `twilio-ruby`
|
|
2
|
+
|
|
3
|
+
We'd love for you to contribute to our source code and to make `twilio-ruby`
|
|
4
|
+
even better than it is today! Here are the guidelines we'd like you to follow:
|
|
5
|
+
|
|
6
|
+
- [Code of Conduct](#coc)
|
|
7
|
+
- [Question or Problem?](#question)
|
|
8
|
+
- [Issues and Bugs](#issue)
|
|
9
|
+
- [Feature Requests](#feature)
|
|
10
|
+
- [Documentation fixes](#docs)
|
|
11
|
+
- [Submission Guidelines](#submit)
|
|
12
|
+
- [Coding Rules](#rules)
|
|
13
|
+
|
|
14
|
+
## <a name="coc"></a> Code of Conduct
|
|
15
|
+
|
|
16
|
+
Help us keep `twilio-ruby` open and inclusive. Please be kind to and considerate
|
|
17
|
+
of other developers, as we all have the same goal: make `twilio-ruby` as good as
|
|
18
|
+
it can be.
|
|
19
|
+
|
|
20
|
+
## <a name="question"></a> Got an API/Product Question or Problem?
|
|
21
|
+
|
|
22
|
+
If you have questions about how to use `twilio-ruby`, please see our
|
|
23
|
+
[docs][docs-link], and if you don't find the answer there, please contact
|
|
24
|
+
[help@twilio.com](mailto:help@twilio.com) with any issues you have.
|
|
25
|
+
|
|
26
|
+
## <a name="issue"></a> Found an Issue?
|
|
27
|
+
|
|
28
|
+
If you find a bug in the source code or a mistake in the documentation, you can
|
|
29
|
+
help us by submitting [an issue][issue-link]. If the file in which the error
|
|
30
|
+
exists has this header:
|
|
31
|
+
```
|
|
32
|
+
"""
|
|
33
|
+
This code was generated by
|
|
34
|
+
\ / _ _ _| _ _
|
|
35
|
+
| (_)\/(_)(_|\/| |(/_ v1.0.0
|
|
36
|
+
/ /
|
|
37
|
+
"""
|
|
38
|
+
```
|
|
39
|
+
then it is a generated file and the change will need to be made by us, but
|
|
40
|
+
submitting an issue will help us track it and keep you up-to-date. If the file
|
|
41
|
+
isn't generated, you can help us out even more by submitting a Pull Request with
|
|
42
|
+
a fix.
|
|
43
|
+
|
|
44
|
+
**Please see the [Submission Guidelines](#submit) below.**
|
|
45
|
+
|
|
46
|
+
## <a name="feature"></a> Want a Feature?
|
|
47
|
+
|
|
48
|
+
You can request a new feature by submitting an issue to our
|
|
49
|
+
[GitHub Repository][github]. If you would like to implement a new feature then
|
|
50
|
+
consider what kind of change it is:
|
|
51
|
+
|
|
52
|
+
* **Major Changes** that you wish to contribute to the project should be
|
|
53
|
+
discussed first with `twilio-ruby` contributors in an issue or pull request so
|
|
54
|
+
that we can develop a proper solution and better coordinate our efforts,
|
|
55
|
+
prevent duplication of work, and help you to craft the change so that it is
|
|
56
|
+
successfully accepted into the project.
|
|
57
|
+
* **Small Changes** can be crafted and submitted to the
|
|
58
|
+
[GitHub Repository][github] as a Pull Request.
|
|
59
|
+
|
|
60
|
+
## <a name="docs"></a> Want a Doc Fix?
|
|
61
|
+
|
|
62
|
+
If you want to help improve the docs in the helper library, it's a good idea to
|
|
63
|
+
let others know what you're working on to minimize duplication of effort. Create
|
|
64
|
+
a new issue (or comment on a related existing one) to let others know what
|
|
65
|
+
you're working on.
|
|
66
|
+
|
|
67
|
+
For large fixes, please build and test the documentation before submitting the
|
|
68
|
+
PR to be sure you haven't accidentally introduced layout or formatting issues.
|
|
69
|
+
|
|
70
|
+
If you want to help improve the docs at
|
|
71
|
+
[https://www.twilio.com/docs/libraries/ruby][docs-link], please contact
|
|
72
|
+
[help@twilio.com](mailto:help@twilio.com).
|
|
73
|
+
|
|
74
|
+
## <a name="submit"></a> Submission Guidelines
|
|
75
|
+
|
|
76
|
+
### Submitting an Issue
|
|
77
|
+
Before you submit your issue search the archive, maybe your question was already
|
|
78
|
+
answered.
|
|
79
|
+
|
|
80
|
+
If your issue appears to be a bug, and hasn't been reported, open a new issue.
|
|
81
|
+
Help us to maximize the effort we can spend fixing issues and adding new
|
|
82
|
+
features by not reporting duplicate issues. Providing the following information
|
|
83
|
+
will increase the chances of your issue being dealt with quickly:
|
|
84
|
+
|
|
85
|
+
* **Overview of the Issue** - if an error is being thrown a non-minified stack
|
|
86
|
+
trace helps
|
|
87
|
+
* **Motivation for or Use Case** - explain why this is a bug for you
|
|
88
|
+
* **`twilio-ruby` Version(s)** - is it a regression?
|
|
89
|
+
* **Operating System (if relevant)** - is this a problem with all systems or
|
|
90
|
+
only specific ones?
|
|
91
|
+
* **Reproduce the Error** - provide an isolated code snippet or an unambiguous
|
|
92
|
+
set of steps.
|
|
93
|
+
* **Related Issues** - has a similar issue been reported before?
|
|
94
|
+
* **Suggest a Fix** - if you can't fix the bug yourself, perhaps you can point
|
|
95
|
+
to what might be causing the problem (line of code or commit)
|
|
96
|
+
|
|
97
|
+
**If you get help, help others. Good karma rules!**
|
|
98
|
+
|
|
99
|
+
### Submitting a Pull Request
|
|
100
|
+
Before you submit your pull request consider the following guidelines:
|
|
101
|
+
|
|
102
|
+
* Search [GitHub][github] for an open or closed Pull Request that relates to
|
|
103
|
+
your submission. You don't want to duplicate effort.
|
|
104
|
+
* Make your changes in a new git branch:
|
|
105
|
+
|
|
106
|
+
```shell
|
|
107
|
+
git checkout -b my-fix-branch master
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
* Create your patch, **including appropriate test cases**.
|
|
111
|
+
* Follow our [Coding Rules](#rules).
|
|
112
|
+
* Run the full `twilio-ruby` test suite (aliased by `make test`), and ensure
|
|
113
|
+
that all tests pass.
|
|
114
|
+
* Commit your changes using a descriptive commit message.
|
|
115
|
+
|
|
116
|
+
```shell
|
|
117
|
+
git commit -a
|
|
118
|
+
```
|
|
119
|
+
Note: the optional commit `-a` command line option will automatically "add"
|
|
120
|
+
and "rm" edited files.
|
|
121
|
+
|
|
122
|
+
* Build your changes locally to ensure all the tests pass:
|
|
123
|
+
|
|
124
|
+
```shell
|
|
125
|
+
make test
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
* Push your branch to GitHub:
|
|
129
|
+
|
|
130
|
+
```shell
|
|
131
|
+
git push origin my-fix-branch
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
In GitHub, send a pull request to `twilio-ruby:master`.
|
|
135
|
+
If we suggest changes, then:
|
|
136
|
+
|
|
137
|
+
* Make the required updates.
|
|
138
|
+
* Re-run the `twilio-ruby` test suite to ensure tests are still passing.
|
|
139
|
+
* Commit your changes to your branch (e.g. `my-fix-branch`).
|
|
140
|
+
* Push the changes to your GitHub repository (this will update your Pull Request).
|
|
141
|
+
|
|
142
|
+
That's it! Thank you for your contribution!
|
|
143
|
+
|
|
144
|
+
#### After your pull request is merged
|
|
145
|
+
|
|
146
|
+
After your pull request is merged, you can safely delete your branch and pull
|
|
147
|
+
the changes from the main (upstream) repository.
|
|
148
|
+
|
|
149
|
+
## <a name="rules"></a> Coding Rules
|
|
150
|
+
|
|
151
|
+
To ensure consistency throughout the source code, keep these rules in mind as
|
|
152
|
+
you are working:
|
|
153
|
+
|
|
154
|
+
* All features or bug fixes **must be tested** by one or more tests.
|
|
155
|
+
* All classes and methods **must be documented**.
|
|
156
|
+
|
|
157
|
+
[docs-link]: https://www.twilio.com/docs/libraries/ruby
|
|
158
|
+
[issue-link]: https://github.com/twilio/twilio-ruby/issues/new
|
|
159
|
+
[github]: https://github.com/twilio/twilio-ruby
|
data/ISSUE_TEMPLATE.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
*Note: These issues are for bugs and feature requests for the helper libraries.
|
|
2
|
+
If you need help or support, please email help@twilio.com and one of our experts
|
|
3
|
+
will assist you!*
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
**Version:**
|
|
7
|
+
|
|
8
|
+
### Code Snippet
|
|
9
|
+
```ruby
|
|
10
|
+
# paste code here
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
### Exception/Log
|
|
14
|
+
```
|
|
15
|
+
<place exception/log here>
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
### Steps to Reproduce
|
|
19
|
+
1.
|
|
20
|
+
2.
|
|
21
|
+
3.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Feature Request
|
|
25
|
+
_If this is a feature request, make sure you search Issues for an existing
|
|
26
|
+
request before creating a new one!_
|
data/LICENSE.md
CHANGED
|
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|
data/README.md
CHANGED
|
@@ -11,13 +11,13 @@ A module for using the Twilio REST API and generating valid [TwiML](http://www.t
|
|
|
11
11
|
To install using [Bundler][bundler] grab the latest stable version:
|
|
12
12
|
|
|
13
13
|
```ruby
|
|
14
|
-
gem 'twilio-ruby', '~> 5.
|
|
14
|
+
gem 'twilio-ruby', '~> 5.1.0'
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
gem install twilio-ruby -v 5.
|
|
20
|
+
gem install twilio-ruby -v 5.1.0
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
To build and install the development branch yourself from the latest source:
|
|
@@ -103,14 +103,13 @@ auth_token = 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'
|
|
|
103
103
|
# set up
|
|
104
104
|
capability = Twilio::JWT::ClientCapability.new account_sid, auth_token
|
|
105
105
|
|
|
106
|
-
|
|
107
106
|
# allow outgoing calls to an application
|
|
108
|
-
|
|
109
|
-
capability.add_scope(
|
|
107
|
+
outgoing_scope = Twilio::JWT::ClientCapability::OutgoingClientScope.new 'AP11111111111111111111111111111111'
|
|
108
|
+
capability.add_scope(outgoing_scope)
|
|
110
109
|
|
|
111
110
|
# allow incoming calls to 'andrew'
|
|
112
|
-
|
|
113
|
-
capability.add_scope(
|
|
111
|
+
incoming_scope = Twilio::JWT::ClientCapability::IncomingClientScope.new 'andrew'
|
|
112
|
+
capability.add_scope(incoming_scope)
|
|
114
113
|
|
|
115
114
|
# generate the token string
|
|
116
115
|
@token = capability.to_s
|
data/VERSIONS.md
CHANGED
|
@@ -1,64 +1,36 @@
|
|
|
1
1
|
# Versioning Strategy
|
|
2
2
|
|
|
3
|
-
`twilio-ruby` uses a modified version of [Semantic Versioning][semver] for
|
|
4
|
-
changes to the helper library.
|
|
5
|
-
the major version and potentially the minor version to avoid pulling in
|
|
6
|
-
changes.
|
|
3
|
+
`twilio-ruby` uses a modified version of [Semantic Versioning][semver] for
|
|
4
|
+
all changes to the helper library. It is strongly encouraged that you pin at
|
|
5
|
+
least the major version and potentially the minor version to avoid pulling in
|
|
6
|
+
breaking changes.
|
|
7
7
|
|
|
8
8
|
Semantic Versions take the form of `MAJOR`.`MINOR`.`PATCH`
|
|
9
9
|
|
|
10
|
-
When bugs are fixed in the library in a backwards compatible way, the `PATCH`
|
|
11
|
-
level will be incremented by one.
|
|
10
|
+
When bugs are fixed in the library in a backwards compatible way, the `PATCH`
|
|
11
|
+
level will be incremented by one. When new features are added to the library
|
|
12
12
|
in a backwards compatible way, the `PATCH` level will be incremented by one.
|
|
13
13
|
`PATCH` changes should _not_ break your code and are generally safe for upgrade.
|
|
14
14
|
|
|
15
|
-
When a new large feature set comes online or a small breaking change is
|
|
16
|
-
introduced, the `MINOR` version will be incremented by one and the `PATCH`
|
|
15
|
+
When a new large feature set comes online or a small breaking change is
|
|
16
|
+
introduced, the `MINOR` version will be incremented by one and the `PATCH`
|
|
17
17
|
version reset to zero. `MINOR` changes _may_ require some amount of manual code
|
|
18
|
-
change for upgrade. These backwards-incompatible changes will generally be
|
|
19
|
-
to a small number of function signature changes.
|
|
18
|
+
change for upgrade. These backwards-incompatible changes will generally be
|
|
19
|
+
limited to a small number of function signature changes.
|
|
20
20
|
|
|
21
|
-
The `MAJOR` version is used to indicate the family of technology represented by
|
|
22
|
-
the helper library.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
versions will be communicated in advance with `Release Candidates` and a
|
|
29
|
-
schedule.
|
|
21
|
+
The `MAJOR` version is used to indicate the family of technology represented by
|
|
22
|
+
the helper library. Breaking changes that requires extensive reworking of code
|
|
23
|
+
will case the `MAJOR` version to be incremented by one, and the `MINOR` and
|
|
24
|
+
`PATCH` versions will be reset to zero. Twilio understands that this can be very
|
|
25
|
+
disruptive, so we will only introduce this type of breaking change when
|
|
26
|
+
absolutely necessary. New `MAJOR` versions will be communicated in advance with
|
|
27
|
+
`Release Candidates` and a schedule.
|
|
30
28
|
|
|
31
29
|
## Supported Versions
|
|
32
30
|
|
|
33
|
-
`twilio-ruby` follows an evergreen model of support.
|
|
34
|
-
functionality will only be added to the current version.
|
|
35
|
-
1 will continue to be supported with
|
|
31
|
+
`twilio-ruby` follows an evergreen model of support. New features and
|
|
32
|
+
functionality will only be added to the current version. The current version -
|
|
33
|
+
1 will continue to be supported with bug fixes and security updates, but no new
|
|
36
34
|
features.
|
|
37
35
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
Twilio frequently rolls out new features in public and private beta periods.
|
|
41
|
-
Twilio strives to ship early and often and bake customer feedback back into our
|
|
42
|
-
products. To support that mission, the `twilio-ruby` helper library has an
|
|
43
|
-
`Edge` version based of the `alpha` branch. This version is identified with an
|
|
44
|
-
`alpha` metadata tag on the version number.
|
|
45
|
-
|
|
46
|
-
The way the `Edge` artifact is created is by playing the `Edge` features on top
|
|
47
|
-
of our stable artifact. The `Edge` artifact will always have the same version
|
|
48
|
-
number as the stable artifact it was created from, but with an `alpha` suffix.
|
|
49
|
-
|
|
50
|
-
For example, `5.0.0-alpha-1` is the `5.0.0` branch with `Edge` features included.
|
|
51
|
-
If there is a change to one of the `Edge` features we may regenerate the `Edge`
|
|
52
|
-
artifact and release a new `5.0.0-alpha-2`, new `Edge` artifacts simply increment
|
|
53
|
-
the number after the `alpha` suffix. All `Edge` features are considered
|
|
54
|
-
unstable and a backwards incompatible change in an `Edge` feature will not cause
|
|
55
|
-
any version change so you should take care when upgrading from one `alpha`
|
|
56
|
-
version to another.
|
|
57
|
-
|
|
58
|
-
Once an `Edge` feature has matured it will be considered `Mainline` and included
|
|
59
|
-
in the stable artifact, with a `MAJOR` or `MINOR` version bump.
|
|
60
|
-
|
|
61
|
-
To use an `Edge` artifact in your Ruby project you will have to make sure that
|
|
62
|
-
you pin the artifact with `alpha` stability in your `pom.xml`.
|
|
63
|
-
|
|
64
|
-
[semver]: http://semver.org/
|
|
36
|
+
[semver]: http://semver.org/
|
|
@@ -27,11 +27,11 @@ module Twilio
|
|
|
27
27
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
28
28
|
# memory before returning.
|
|
29
29
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
30
|
-
#
|
|
31
|
-
# @param [Integer] page_size Number of records to fetch per request, when
|
|
32
|
-
#
|
|
33
|
-
#
|
|
34
|
-
#
|
|
30
|
+
# guarantees to never return more than limit. Default is no limit
|
|
31
|
+
# @param [Integer] page_size Number of records to fetch per request, when
|
|
32
|
+
# not set will use the default value of 50 records. If no page_size is defined
|
|
33
|
+
# but a limit is defined, stream() will attempt to read the limit with the most
|
|
34
|
+
# efficient page size, i.e. min(limit, 1000)
|
|
35
35
|
# @return [Array] Array of up to limit results
|
|
36
36
|
def list(limit: nil, page_size: nil)
|
|
37
37
|
self.stream(
|
|
@@ -44,12 +44,12 @@ module Twilio
|
|
|
44
44
|
# Streams PublicKeyInstance records from the API as an Enumerable.
|
|
45
45
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
46
46
|
# is reached.
|
|
47
|
-
# @param [Integer] limit Upper limit for the number of records to return.
|
|
48
|
-
#
|
|
49
|
-
# @param [Integer] page_size Number of records to fetch per request, when
|
|
50
|
-
#
|
|
51
|
-
#
|
|
52
|
-
#
|
|
47
|
+
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
48
|
+
# guarantees to never return more than limit. Default is no limit.
|
|
49
|
+
# @param [Integer] page_size Number of records to fetch per request, when
|
|
50
|
+
# not set will use the default value of 50 records. If no page_size is defined
|
|
51
|
+
# but a limit is defined, stream() will attempt to read the limit with the most
|
|
52
|
+
# efficient page size, i.e. min(limit, 1000)
|
|
53
53
|
# @return [Enumerable] Enumerable that will yield up to limit results
|
|
54
54
|
def stream(limit: nil, page_size: nil)
|
|
55
55
|
limits = @version.read_limits(limit, page_size)
|
|
@@ -33,11 +33,11 @@ module Twilio
|
|
|
33
33
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
34
34
|
# memory before returning.
|
|
35
35
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
36
|
-
#
|
|
37
|
-
# @param [Integer] page_size Number of records to fetch per request, when
|
|
38
|
-
#
|
|
39
|
-
#
|
|
40
|
-
#
|
|
36
|
+
# guarantees to never return more than limit. Default is no limit
|
|
37
|
+
# @param [Integer] page_size Number of records to fetch per request, when
|
|
38
|
+
# not set will use the default value of 50 records. If no page_size is defined
|
|
39
|
+
# but a limit is defined, stream() will attempt to read the limit with the most
|
|
40
|
+
# efficient page size, i.e. min(limit, 1000)
|
|
41
41
|
# @return [Array] Array of up to limit results
|
|
42
42
|
def list(limit: nil, page_size: nil)
|
|
43
43
|
self.stream(
|
|
@@ -50,12 +50,12 @@ module Twilio
|
|
|
50
50
|
# Streams DependentPhoneNumberInstance records from the API as an Enumerable.
|
|
51
51
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
52
52
|
# is reached.
|
|
53
|
-
# @param [Integer] limit Upper limit for the number of records to return.
|
|
54
|
-
#
|
|
55
|
-
# @param [Integer] page_size Number of records to fetch per request, when
|
|
56
|
-
#
|
|
57
|
-
#
|
|
58
|
-
#
|
|
53
|
+
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
54
|
+
# guarantees to never return more than limit. Default is no limit.
|
|
55
|
+
# @param [Integer] page_size Number of records to fetch per request, when
|
|
56
|
+
# not set will use the default value of 50 records. If no page_size is defined
|
|
57
|
+
# but a limit is defined, stream() will attempt to read the limit with the most
|
|
58
|
+
# efficient page size, i.e. min(limit, 1000)
|
|
59
59
|
# @return [Enumerable] Enumerable that will yield up to limit results
|
|
60
60
|
def stream(limit: nil, page_size: nil)
|
|
61
61
|
limits = @version.read_limits(limit, page_size)
|