twilio-ruby 5.0.0.rc12 → 5.0.0.rc13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/Rakefile +6 -0
- data/lib/twilio-ruby/jwt/access_token.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/sms/short_code.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/sms/sms_message.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +5 -5
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +5 -5
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +5 -5
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +5 -5
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +5 -5
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +5 -5
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +5 -5
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +5 -5
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +5 -5
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +5 -5
- data/lib/twilio-ruby/rest/notifications/v1/credential.rb +5 -5
- data/lib/twilio-ruby/rest/notifications/v1/service.rb +5 -5
- data/lib/twilio-ruby/rest/notifications/v1/service/binding.rb +5 -5
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +5 -5
- data/lib/twilio-ruby/rest/preview/wireless/device.rb +5 -5
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +5 -5
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +5 -5
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +5 -5
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +5 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +5 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +5 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +5 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +5 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +5 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +5 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +5 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +5 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +5 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +8 -24
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +5 -5
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +5 -5
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +5 -5
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +5 -5
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +5 -5
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/integration/taskrouter/v1/workspace/workflow_spec.rb +3 -3
- 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: eab37c2de7a77e03a9e4be48c1cd86a1f032e55a
|
4
|
+
data.tar.gz: e594dc3a3f60a0b537ee05a8361a7dbc0a6b8d3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a754b90efe265656302efd55da3b41b35edcd855fbc24e6a4ac0650638ee5083b0903589bd6864dddb42872b53d2f1803c6706a3f42e804b5e819e328d69def3
|
7
|
+
data.tar.gz: f2829389df7b7d61a46b13c37349d79a3b56425e0bdbf075bd2e72d2ce8423c8bfd735304e4f72f7a6571b59d665a181b5ab380aeaa3aa8edde0d0085c468c6d
|
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.0.0.
|
14
|
+
gem 'twilio-ruby', '~> 5.0.0.rc13'
|
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.0.0.
|
20
|
+
gem install twilio-ruby -v 5.0.0.rc13
|
21
21
|
```
|
22
22
|
|
23
23
|
To build and install the development branch yourself from the latest source:
|
data/Rakefile
CHANGED
@@ -8,9 +8,9 @@ module Twilio
|
|
8
8
|
:identity,
|
9
9
|
:nbf
|
10
10
|
|
11
|
-
def initialize(account_sid,
|
11
|
+
def initialize(account_sid, key_sid, secret, ttl=3600, identity=nil, nbf=nil)
|
12
12
|
@account_sid = account_sid
|
13
|
-
@
|
13
|
+
@key_sid = key_sid
|
14
14
|
@secret = secret
|
15
15
|
@ttl = ttl
|
16
16
|
@identity = identity
|
@@ -37,8 +37,8 @@ module Twilio
|
|
37
37
|
@grants.each { |grant| grants[grant.key] = grant.payload }
|
38
38
|
|
39
39
|
payload = {
|
40
|
-
jti: "#{@
|
41
|
-
iss: @
|
40
|
+
jti: "#{@key_sid}-#{now}",
|
41
|
+
iss: @key_sid,
|
42
42
|
sub: @account_sid,
|
43
43
|
exp: now + @ttl,
|
44
44
|
grants: grants
|
@@ -87,10 +87,10 @@ module Twilio
|
|
87
87
|
page = self.page(
|
88
88
|
friendly_name: friendly_name,
|
89
89
|
status: status,
|
90
|
-
page_size: limits[
|
90
|
+
page_size: limits[:page_size],
|
91
91
|
)
|
92
92
|
|
93
|
-
@version.stream(page, limit: limits[
|
93
|
+
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
94
94
|
end
|
95
95
|
|
96
96
|
##
|
@@ -110,12 +110,12 @@ module Twilio
|
|
110
110
|
limits = @version.read_limits
|
111
111
|
|
112
112
|
page = self.page(
|
113
|
-
page_size: limits[
|
113
|
+
page_size: limits[:page_size],
|
114
114
|
)
|
115
115
|
|
116
116
|
@version.stream(page,
|
117
|
-
limit: limits[
|
118
|
-
page_limit: limits[
|
117
|
+
limit: limits[:limit],
|
118
|
+
page_limit: limits[:page_limit]).each {|x| yield x}
|
119
119
|
end
|
120
120
|
|
121
121
|
##
|
@@ -105,10 +105,10 @@ module Twilio
|
|
105
105
|
customer_name: customer_name,
|
106
106
|
friendly_name: friendly_name,
|
107
107
|
iso_country: iso_country,
|
108
|
-
page_size: limits[
|
108
|
+
page_size: limits[:page_size],
|
109
109
|
)
|
110
110
|
|
111
|
-
@version.stream(page, limit: limits[
|
111
|
+
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
112
112
|
end
|
113
113
|
|
114
114
|
##
|
@@ -128,12 +128,12 @@ module Twilio
|
|
128
128
|
limits = @version.read_limits
|
129
129
|
|
130
130
|
page = self.page(
|
131
|
-
page_size: limits[
|
131
|
+
page_size: limits[:page_size],
|
132
132
|
)
|
133
133
|
|
134
134
|
@version.stream(page,
|
135
|
-
limit: limits[
|
136
|
-
page_limit: limits[
|
135
|
+
limit: limits[:limit],
|
136
|
+
page_limit: limits[:page_limit]).each {|x| yield x}
|
137
137
|
end
|
138
138
|
|
139
139
|
##
|
@@ -61,10 +61,10 @@ module Twilio
|
|
61
61
|
limits = @version.read_limits(limit, page_size)
|
62
62
|
|
63
63
|
page = self.page(
|
64
|
-
page_size: limits[
|
64
|
+
page_size: limits[:page_size],
|
65
65
|
)
|
66
66
|
|
67
|
-
@version.stream(page, limit: limits[
|
67
|
+
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
68
68
|
end
|
69
69
|
|
70
70
|
##
|
@@ -81,12 +81,12 @@ module Twilio
|
|
81
81
|
limits = @version.read_limits
|
82
82
|
|
83
83
|
page = self.page(
|
84
|
-
page_size: limits[
|
84
|
+
page_size: limits[:page_size],
|
85
85
|
)
|
86
86
|
|
87
87
|
@version.stream(page,
|
88
|
-
limit: limits[
|
89
|
-
page_limit: limits[
|
88
|
+
limit: limits[:limit],
|
89
|
+
page_limit: limits[:page_limit]).each {|x| yield x}
|
90
90
|
end
|
91
91
|
|
92
92
|
##
|
@@ -134,10 +134,10 @@ module Twilio
|
|
134
134
|
|
135
135
|
page = self.page(
|
136
136
|
friendly_name: friendly_name,
|
137
|
-
page_size: limits[
|
137
|
+
page_size: limits[:page_size],
|
138
138
|
)
|
139
139
|
|
140
|
-
@version.stream(page, limit: limits[
|
140
|
+
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
141
141
|
end
|
142
142
|
|
143
143
|
##
|
@@ -156,12 +156,12 @@ module Twilio
|
|
156
156
|
limits = @version.read_limits
|
157
157
|
|
158
158
|
page = self.page(
|
159
|
-
page_size: limits[
|
159
|
+
page_size: limits[:page_size],
|
160
160
|
)
|
161
161
|
|
162
162
|
@version.stream(page,
|
163
|
-
limit: limits[
|
164
|
-
page_limit: limits[
|
163
|
+
limit: limits[:limit],
|
164
|
+
page_limit: limits[:page_limit]).each {|x| yield x}
|
165
165
|
end
|
166
166
|
|
167
167
|
##
|
@@ -59,10 +59,10 @@ module Twilio
|
|
59
59
|
limits = @version.read_limits(limit, page_size)
|
60
60
|
|
61
61
|
page = self.page(
|
62
|
-
page_size: limits[
|
62
|
+
page_size: limits[:page_size],
|
63
63
|
)
|
64
64
|
|
65
|
-
@version.stream(page, limit: limits[
|
65
|
+
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
66
66
|
end
|
67
67
|
|
68
68
|
##
|
@@ -79,12 +79,12 @@ module Twilio
|
|
79
79
|
limits = @version.read_limits
|
80
80
|
|
81
81
|
page = self.page(
|
82
|
-
page_size: limits[
|
82
|
+
page_size: limits[:page_size],
|
83
83
|
)
|
84
84
|
|
85
85
|
@version.stream(page,
|
86
|
-
limit: limits[
|
87
|
-
page_limit: limits[
|
86
|
+
limit: limits[:limit],
|
87
|
+
page_limit: limits[:page_limit]).each {|x| yield x}
|
88
88
|
end
|
89
89
|
|
90
90
|
##
|
@@ -59,10 +59,10 @@ module Twilio
|
|
59
59
|
limits = @version.read_limits(limit, page_size)
|
60
60
|
|
61
61
|
page = self.page(
|
62
|
-
page_size: limits[
|
62
|
+
page_size: limits[:page_size],
|
63
63
|
)
|
64
64
|
|
65
|
-
@version.stream(page, limit: limits[
|
65
|
+
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
66
66
|
end
|
67
67
|
|
68
68
|
##
|
@@ -79,12 +79,12 @@ module Twilio
|
|
79
79
|
limits = @version.read_limits
|
80
80
|
|
81
81
|
page = self.page(
|
82
|
-
page_size: limits[
|
82
|
+
page_size: limits[:page_size],
|
83
83
|
)
|
84
84
|
|
85
85
|
@version.stream(page,
|
86
|
-
limit: limits[
|
87
|
-
page_limit: limits[
|
86
|
+
limit: limits[:limit],
|
87
|
+
page_limit: limits[:page_limit]).each {|x| yield x}
|
88
88
|
end
|
89
89
|
|
90
90
|
##
|
@@ -130,10 +130,10 @@ module Twilio
|
|
130
130
|
in_region: in_region,
|
131
131
|
in_rate_center: in_rate_center,
|
132
132
|
in_lata: in_lata,
|
133
|
-
page_size: limits[
|
133
|
+
page_size: limits[:page_size],
|
134
134
|
)
|
135
135
|
|
136
|
-
@version.stream(page, limit: limits[
|
136
|
+
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
137
137
|
end
|
138
138
|
|
139
139
|
##
|
@@ -168,12 +168,12 @@ module Twilio
|
|
168
168
|
limits = @version.read_limits
|
169
169
|
|
170
170
|
page = self.page(
|
171
|
-
page_size: limits[
|
171
|
+
page_size: limits[:page_size],
|
172
172
|
)
|
173
173
|
|
174
174
|
@version.stream(page,
|
175
|
-
limit: limits[
|
176
|
-
page_limit: limits[
|
175
|
+
limit: limits[:limit],
|
176
|
+
page_limit: limits[:page_limit]).each {|x| yield x}
|
177
177
|
end
|
178
178
|
|
179
179
|
##
|
@@ -130,10 +130,10 @@ module Twilio
|
|
130
130
|
in_region: in_region,
|
131
131
|
in_rate_center: in_rate_center,
|
132
132
|
in_lata: in_lata,
|
133
|
-
page_size: limits[
|
133
|
+
page_size: limits[:page_size],
|
134
134
|
)
|
135
135
|
|
136
|
-
@version.stream(page, limit: limits[
|
136
|
+
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
137
137
|
end
|
138
138
|
|
139
139
|
##
|
@@ -168,12 +168,12 @@ module Twilio
|
|
168
168
|
limits = @version.read_limits
|
169
169
|
|
170
170
|
page = self.page(
|
171
|
-
page_size: limits[
|
171
|
+
page_size: limits[:page_size],
|
172
172
|
)
|
173
173
|
|
174
174
|
@version.stream(page,
|
175
|
-
limit: limits[
|
176
|
-
page_limit: limits[
|
175
|
+
limit: limits[:limit],
|
176
|
+
page_limit: limits[:page_limit]).each {|x| yield x}
|
177
177
|
end
|
178
178
|
|
179
179
|
##
|
@@ -130,10 +130,10 @@ module Twilio
|
|
130
130
|
in_region: in_region,
|
131
131
|
in_rate_center: in_rate_center,
|
132
132
|
in_lata: in_lata,
|
133
|
-
page_size: limits[
|
133
|
+
page_size: limits[:page_size],
|
134
134
|
)
|
135
135
|
|
136
|
-
@version.stream(page, limit: limits[
|
136
|
+
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
137
137
|
end
|
138
138
|
|
139
139
|
##
|
@@ -168,12 +168,12 @@ module Twilio
|
|
168
168
|
limits = @version.read_limits
|
169
169
|
|
170
170
|
page = self.page(
|
171
|
-
page_size: limits[
|
171
|
+
page_size: limits[:page_size],
|
172
172
|
)
|
173
173
|
|
174
174
|
@version.stream(page,
|
175
|
-
limit: limits[
|
176
|
-
page_limit: limits[
|
175
|
+
limit: limits[:limit],
|
176
|
+
page_limit: limits[:page_limit]).each {|x| yield x}
|
177
177
|
end
|
178
178
|
|
179
179
|
##
|
@@ -182,10 +182,10 @@ module Twilio
|
|
182
182
|
end_time_before: end_time_before,
|
183
183
|
end_time: end_time,
|
184
184
|
end_time_after: end_time_after,
|
185
|
-
page_size: limits[
|
185
|
+
page_size: limits[:page_size],
|
186
186
|
)
|
187
187
|
|
188
|
-
@version.stream(page, limit: limits[
|
188
|
+
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
189
189
|
end
|
190
190
|
|
191
191
|
##
|
@@ -213,12 +213,12 @@ module Twilio
|
|
213
213
|
limits = @version.read_limits
|
214
214
|
|
215
215
|
page = self.page(
|
216
|
-
page_size: limits[
|
216
|
+
page_size: limits[:page_size],
|
217
217
|
)
|
218
218
|
|
219
219
|
@version.stream(page,
|
220
|
-
limit: limits[
|
221
|
-
page_limit: limits[
|
220
|
+
limit: limits[:limit],
|
221
|
+
page_limit: limits[:page_limit]).each {|x| yield x}
|
222
222
|
end
|
223
223
|
|
224
224
|
##
|
@@ -77,10 +77,10 @@ module Twilio
|
|
77
77
|
message_date_before: message_date_before,
|
78
78
|
message_date: message_date,
|
79
79
|
message_date_after: message_date_after,
|
80
|
-
page_size: limits[
|
80
|
+
page_size: limits[:page_size],
|
81
81
|
)
|
82
82
|
|
83
|
-
@version.stream(page, limit: limits[
|
83
|
+
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
84
84
|
end
|
85
85
|
|
86
86
|
##
|
@@ -101,12 +101,12 @@ module Twilio
|
|
101
101
|
limits = @version.read_limits
|
102
102
|
|
103
103
|
page = self.page(
|
104
|
-
page_size: limits[
|
104
|
+
page_size: limits[:page_size],
|
105
105
|
)
|
106
106
|
|
107
107
|
@version.stream(page,
|
108
|
-
limit: limits[
|
109
|
-
page_limit: limits[
|
108
|
+
limit: limits[:limit],
|
109
|
+
page_limit: limits[:page_limit]).each {|x| yield x}
|
110
110
|
end
|
111
111
|
|
112
112
|
##
|
@@ -73,10 +73,10 @@ module Twilio
|
|
73
73
|
date_created_before: date_created_before,
|
74
74
|
date_created: date_created,
|
75
75
|
date_created_after: date_created_after,
|
76
|
-
page_size: limits[
|
76
|
+
page_size: limits[:page_size],
|
77
77
|
)
|
78
78
|
|
79
|
-
@version.stream(page, limit: limits[
|
79
|
+
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
80
80
|
end
|
81
81
|
|
82
82
|
##
|
@@ -96,12 +96,12 @@ module Twilio
|
|
96
96
|
limits = @version.read_limits
|
97
97
|
|
98
98
|
page = self.page(
|
99
|
-
page_size: limits[
|
99
|
+
page_size: limits[:page_size],
|
100
100
|
)
|
101
101
|
|
102
102
|
@version.stream(page,
|
103
|
-
limit: limits[
|
104
|
-
page_limit: limits[
|
103
|
+
limit: limits[:limit],
|
104
|
+
page_limit: limits[:page_limit]).each {|x| yield x}
|
105
105
|
end
|
106
106
|
|
107
107
|
##
|
@@ -95,10 +95,10 @@ module Twilio
|
|
95
95
|
date_updated_after: date_updated_after,
|
96
96
|
friendly_name: friendly_name,
|
97
97
|
status: status,
|
98
|
-
page_size: limits[
|
98
|
+
page_size: limits[:page_size],
|
99
99
|
)
|
100
100
|
|
101
|
-
@version.stream(page, limit: limits[
|
101
|
+
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
102
102
|
end
|
103
103
|
|
104
104
|
##
|
@@ -125,12 +125,12 @@ module Twilio
|
|
125
125
|
limits = @version.read_limits
|
126
126
|
|
127
127
|
page = self.page(
|
128
|
-
page_size: limits[
|
128
|
+
page_size: limits[:page_size],
|
129
129
|
)
|
130
130
|
|
131
131
|
@version.stream(page,
|
132
|
-
limit: limits[
|
133
|
-
page_limit: limits[
|
132
|
+
limit: limits[:limit],
|
133
|
+
page_limit: limits[:page_limit]).each {|x| yield x}
|
134
134
|
end
|
135
135
|
|
136
136
|
##
|