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.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/Rakefile +6 -0
  4. data/lib/twilio-ruby/jwt/access_token.rb +4 -4
  5. data/lib/twilio-ruby/rest/api/v2010/account.rb +5 -5
  6. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +5 -5
  7. data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +5 -5
  8. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +5 -5
  9. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +5 -5
  10. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +5 -5
  11. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +5 -5
  12. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +5 -5
  13. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +5 -5
  14. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +5 -5
  15. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +5 -5
  16. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +5 -5
  17. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +5 -5
  18. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +5 -5
  19. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +5 -5
  20. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +5 -5
  21. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +5 -5
  22. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +5 -5
  23. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +5 -5
  24. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +5 -5
  25. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +5 -5
  26. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +5 -5
  27. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +5 -5
  28. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +5 -5
  29. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +5 -5
  30. data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +5 -5
  31. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +5 -5
  32. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +5 -5
  33. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +5 -5
  34. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +5 -5
  35. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +5 -5
  36. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +5 -5
  37. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +5 -5
  38. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +5 -5
  39. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +5 -5
  40. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +5 -5
  41. data/lib/twilio-ruby/rest/api/v2010/account/sms/short_code.rb +5 -5
  42. data/lib/twilio-ruby/rest/api/v2010/account/sms/sms_message.rb +5 -5
  43. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +5 -5
  44. data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +5 -5
  45. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +5 -5
  46. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +5 -5
  47. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +5 -5
  48. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +5 -5
  49. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +5 -5
  50. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +5 -5
  51. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +5 -5
  52. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +5 -5
  53. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +5 -5
  54. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +5 -5
  55. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +5 -5
  56. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +5 -5
  57. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +5 -5
  58. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +5 -5
  59. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +5 -5
  60. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +5 -5
  61. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +5 -5
  62. data/lib/twilio-ruby/rest/monitor/v1/event.rb +5 -5
  63. data/lib/twilio-ruby/rest/notifications/v1/credential.rb +5 -5
  64. data/lib/twilio-ruby/rest/notifications/v1/service.rb +5 -5
  65. data/lib/twilio-ruby/rest/notifications/v1/service/binding.rb +5 -5
  66. data/lib/twilio-ruby/rest/preview/wireless/command.rb +5 -5
  67. data/lib/twilio-ruby/rest/preview/wireless/device.rb +5 -5
  68. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +5 -5
  69. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +5 -5
  70. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +5 -5
  71. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +5 -5
  72. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +5 -5
  73. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +5 -5
  74. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +5 -5
  75. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +5 -5
  76. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +5 -5
  77. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +5 -5
  78. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +5 -5
  79. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +5 -5
  80. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +5 -5
  81. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +8 -24
  82. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +5 -5
  83. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +5 -5
  84. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +5 -5
  85. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +5 -5
  86. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +5 -5
  87. data/lib/twilio-ruby/version.rb +1 -1
  88. data/spec/integration/taskrouter/v1/workspace/workflow_spec.rb +3 -3
  89. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a096dffb0a9572aa6b6e044688cea15da9b7d2cd
4
- data.tar.gz: 1f519a1ccc31b4330e754520e04a507c585bd795
3
+ metadata.gz: eab37c2de7a77e03a9e4be48c1cd86a1f032e55a
4
+ data.tar.gz: e594dc3a3f60a0b537ee05a8361a7dbc0a6b8d3f
5
5
  SHA512:
6
- metadata.gz: f94c203b11f93418fad5dde7ab39b33a50f74c900d9218a8e67ffd5673fd1f9b0fdf117cd9d1b6889a658cb4e2261c5bd064e443441f38adf54b2ffa155b365b
7
- data.tar.gz: 96d32c7f3a028f6961b11d0963cd4c5932742741b079dd60a3f261113478aa24acd5be4842d74f38226232f2c39836794b1e12369bf066ef7a2f9972ad16813c
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.rc12'
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.rc12
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
@@ -59,4 +59,10 @@ SRC
59
59
 
60
60
  # Push the branch back up
61
61
  `git push`
62
+
63
+ # Tag the branch
64
+ `git tag #{version}`
65
+
66
+ # Push the tags
67
+ `git push --tags`
62
68
  end
@@ -8,9 +8,9 @@ module Twilio
8
8
  :identity,
9
9
  :nbf
10
10
 
11
- def initialize(account_sid, signing_key_id, secret, ttl=3600, identity=nil, nbf=nil)
11
+ def initialize(account_sid, key_sid, secret, ttl=3600, identity=nil, nbf=nil)
12
12
  @account_sid = account_sid
13
- @signing_key_sid = signing_key_id
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: "#{@signing_key_sid}-#{now}",
41
- iss: @signing_key_sid,
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['page_size'],
90
+ page_size: limits[:page_size],
91
91
  )
92
92
 
93
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
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['page_size'],
113
+ page_size: limits[:page_size],
114
114
  )
115
115
 
116
116
  @version.stream(page,
117
- limit: limits['limit'],
118
- page_limit: limits['page_limit']).each {|x| yield x}
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['page_size'],
108
+ page_size: limits[:page_size],
109
109
  )
110
110
 
111
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
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['page_size'],
131
+ page_size: limits[:page_size],
132
132
  )
133
133
 
134
134
  @version.stream(page,
135
- limit: limits['limit'],
136
- page_limit: limits['page_limit']).each {|x| yield x}
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['page_size'],
64
+ page_size: limits[:page_size],
65
65
  )
66
66
 
67
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
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['page_size'],
84
+ page_size: limits[:page_size],
85
85
  )
86
86
 
87
87
  @version.stream(page,
88
- limit: limits['limit'],
89
- page_limit: limits['page_limit']).each {|x| yield x}
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['page_size'],
137
+ page_size: limits[:page_size],
138
138
  )
139
139
 
140
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
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['page_size'],
159
+ page_size: limits[:page_size],
160
160
  )
161
161
 
162
162
  @version.stream(page,
163
- limit: limits['limit'],
164
- page_limit: limits['page_limit']).each {|x| yield x}
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['page_size'],
62
+ page_size: limits[:page_size],
63
63
  )
64
64
 
65
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
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['page_size'],
82
+ page_size: limits[:page_size],
83
83
  )
84
84
 
85
85
  @version.stream(page,
86
- limit: limits['limit'],
87
- page_limit: limits['page_limit']).each {|x| yield x}
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['page_size'],
62
+ page_size: limits[:page_size],
63
63
  )
64
64
 
65
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
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['page_size'],
82
+ page_size: limits[:page_size],
83
83
  )
84
84
 
85
85
  @version.stream(page,
86
- limit: limits['limit'],
87
- page_limit: limits['page_limit']).each {|x| yield x}
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['page_size'],
133
+ page_size: limits[:page_size],
134
134
  )
135
135
 
136
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
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['page_size'],
171
+ page_size: limits[:page_size],
172
172
  )
173
173
 
174
174
  @version.stream(page,
175
- limit: limits['limit'],
176
- page_limit: limits['page_limit']).each {|x| yield x}
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['page_size'],
133
+ page_size: limits[:page_size],
134
134
  )
135
135
 
136
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
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['page_size'],
171
+ page_size: limits[:page_size],
172
172
  )
173
173
 
174
174
  @version.stream(page,
175
- limit: limits['limit'],
176
- page_limit: limits['page_limit']).each {|x| yield x}
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['page_size'],
133
+ page_size: limits[:page_size],
134
134
  )
135
135
 
136
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
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['page_size'],
171
+ page_size: limits[:page_size],
172
172
  )
173
173
 
174
174
  @version.stream(page,
175
- limit: limits['limit'],
176
- page_limit: limits['page_limit']).each {|x| yield x}
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['page_size'],
185
+ page_size: limits[:page_size],
186
186
  )
187
187
 
188
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
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['page_size'],
216
+ page_size: limits[:page_size],
217
217
  )
218
218
 
219
219
  @version.stream(page,
220
- limit: limits['limit'],
221
- page_limit: limits['page_limit']).each {|x| yield x}
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['page_size'],
80
+ page_size: limits[:page_size],
81
81
  )
82
82
 
83
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
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['page_size'],
104
+ page_size: limits[:page_size],
105
105
  )
106
106
 
107
107
  @version.stream(page,
108
- limit: limits['limit'],
109
- page_limit: limits['page_limit']).each {|x| yield x}
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['page_size'],
76
+ page_size: limits[:page_size],
77
77
  )
78
78
 
79
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
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['page_size'],
99
+ page_size: limits[:page_size],
100
100
  )
101
101
 
102
102
  @version.stream(page,
103
- limit: limits['limit'],
104
- page_limit: limits['page_limit']).each {|x| yield x}
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['page_size'],
98
+ page_size: limits[:page_size],
99
99
  )
100
100
 
101
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
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['page_size'],
128
+ page_size: limits[:page_size],
129
129
  )
130
130
 
131
131
  @version.stream(page,
132
- limit: limits['limit'],
133
- page_limit: limits['page_limit']).each {|x| yield x}
132
+ limit: limits[:limit],
133
+ page_limit: limits[:page_limit]).each {|x| yield x}
134
134
  end
135
135
 
136
136
  ##