twilio-ruby 5.31.0 → 5.31.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -2
- data/.rubocop_todo.yml +90 -48
- data/CHANGES.md +18 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/preview.rb +9 -0
- data/lib/twilio-ruby/rest/preview/trusted_comms.rb +16 -0
- data/lib/twilio-ruby/rest/preview/trusted_comms/business.rb +219 -0
- data/lib/twilio-ruby/rest/preview/trusted_comms/business/insights.rb +111 -0
- data/lib/twilio-ruby/rest/preview/trusted_comms/business/insights/success_rate.rb +264 -0
- data/lib/twilio-ruby/rest/verify/v2/service.rb +0 -8
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +0 -8
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +0 -8
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +0 -8
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +3 -11
- data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +8 -11
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/integration/api/v2010/account_spec.rb +18 -7
- data/spec/integration/lookups/v1/phone_number_spec.rb +37 -32
- data/spec/integration/preview/trusted_comms/business/insights/success_rate_spec.rb +58 -0
- data/spec/integration/preview/trusted_comms/business/insights_spec.rb +12 -0
- data/spec/integration/preview/trusted_comms/business_spec.rb +46 -0
- data/spec/integration/verify/v2/service_spec.rb +4 -0
- data/spec/integration/wireless/v1/rate_plan_spec.rb +4 -0
- data/twilio-ruby.gemspec +1 -1
- metadata +13 -4
@@ -85,6 +85,7 @@ describe 'RatePlan' do
|
|
85
85
|
"sid": "WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
86
86
|
"usage_notification_method": "POST",
|
87
87
|
"usage_notification_url": "https://callback.com",
|
88
|
+
"data_limit_strategy": "block",
|
88
89
|
"url": "https://wireless.twilio.com/v1/RatePlans/WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
89
90
|
}
|
90
91
|
]
|
@@ -138,6 +139,7 @@ describe 'RatePlan' do
|
|
138
139
|
"sid": "WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
139
140
|
"usage_notification_method": "POST",
|
140
141
|
"usage_notification_url": "https://callback.com",
|
142
|
+
"data_limit_strategy": "block",
|
141
143
|
"url": "https://wireless.twilio.com/v1/RatePlans/WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
142
144
|
}
|
143
145
|
]
|
@@ -172,6 +174,7 @@ describe 'RatePlan' do
|
|
172
174
|
"unique_name": "unique_name",
|
173
175
|
"data_enabled": true,
|
174
176
|
"data_limit": 1000,
|
177
|
+
"data_limit_strategy": "block",
|
175
178
|
"data_metering": "payg",
|
176
179
|
"date_created": "2019-07-30T20:00:00Z",
|
177
180
|
"date_updated": "2019-07-30T20:00:00Z",
|
@@ -240,6 +243,7 @@ describe 'RatePlan' do
|
|
240
243
|
"sid": "WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
241
244
|
"usage_notification_method": "POST",
|
242
245
|
"usage_notification_url": "https://callback.com",
|
246
|
+
"data_limit_strategy": "block",
|
243
247
|
"url": "https://wireless.twilio.com/v1/RatePlans/WPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
244
248
|
}
|
245
249
|
]
|
data/twilio-ruby.gemspec
CHANGED
@@ -31,6 +31,6 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_dependency('rubysl') if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
|
32
32
|
|
33
33
|
spec.add_development_dependency 'bundler', '>= 1.5', '< 3.0'
|
34
|
-
spec.add_development_dependency 'rubocop', '~> 0.
|
34
|
+
spec.add_development_dependency 'rubocop', '~> 0.77.0'
|
35
35
|
spec.add_development_dependency 'yard', '~> 0.9.9'
|
36
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twilio-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.31.
|
4
|
+
version: 5.31.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Twilio API Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -90,14 +90,14 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - "~>"
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: 0.
|
93
|
+
version: 0.77.0
|
94
94
|
type: :development
|
95
95
|
prerelease: false
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
98
|
- - "~>"
|
99
99
|
- !ruby/object:Gem::Version
|
100
|
-
version: 0.
|
100
|
+
version: 0.77.0
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
name: yard
|
103
103
|
requirement: !ruby/object:Gem::Requirement
|
@@ -399,6 +399,9 @@ files:
|
|
399
399
|
- lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb
|
400
400
|
- lib/twilio-ruby/rest/preview/trusted_comms.rb
|
401
401
|
- lib/twilio-ruby/rest/preview/trusted_comms/branded_call.rb
|
402
|
+
- lib/twilio-ruby/rest/preview/trusted_comms/business.rb
|
403
|
+
- lib/twilio-ruby/rest/preview/trusted_comms/business/insights.rb
|
404
|
+
- lib/twilio-ruby/rest/preview/trusted_comms/business/insights/success_rate.rb
|
402
405
|
- lib/twilio-ruby/rest/preview/trusted_comms/cps.rb
|
403
406
|
- lib/twilio-ruby/rest/preview/trusted_comms/current_call.rb
|
404
407
|
- lib/twilio-ruby/rest/preview/trusted_comms/device.rb
|
@@ -764,6 +767,9 @@ files:
|
|
764
767
|
- spec/integration/preview/sync/service/sync_map_spec.rb
|
765
768
|
- spec/integration/preview/sync/service_spec.rb
|
766
769
|
- spec/integration/preview/trusted_comms/branded_call_spec.rb
|
770
|
+
- spec/integration/preview/trusted_comms/business/insights/success_rate_spec.rb
|
771
|
+
- spec/integration/preview/trusted_comms/business/insights_spec.rb
|
772
|
+
- spec/integration/preview/trusted_comms/business_spec.rb
|
767
773
|
- spec/integration/preview/trusted_comms/cps_spec.rb
|
768
774
|
- spec/integration/preview/trusted_comms/current_call_spec.rb
|
769
775
|
- spec/integration/preview/trusted_comms/device_spec.rb
|
@@ -1142,6 +1148,9 @@ test_files:
|
|
1142
1148
|
- spec/integration/preview/sync/service/sync_map_spec.rb
|
1143
1149
|
- spec/integration/preview/sync/service_spec.rb
|
1144
1150
|
- spec/integration/preview/trusted_comms/branded_call_spec.rb
|
1151
|
+
- spec/integration/preview/trusted_comms/business/insights/success_rate_spec.rb
|
1152
|
+
- spec/integration/preview/trusted_comms/business/insights_spec.rb
|
1153
|
+
- spec/integration/preview/trusted_comms/business_spec.rb
|
1145
1154
|
- spec/integration/preview/trusted_comms/cps_spec.rb
|
1146
1155
|
- spec/integration/preview/trusted_comms/current_call_spec.rb
|
1147
1156
|
- spec/integration/preview/trusted_comms/device_spec.rb
|