twilio-ruby 5.24.0 → 5.25.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,9 +37,9 @@ describe 'VerificationCheck' do
37
37
  "to": "+14159373912",
38
38
  "channel": "sms",
39
39
  "status": "approved",
40
- "valid": false,
41
- "amount": "$29.99",
42
- "payee": "Acme",
40
+ "valid": true,
41
+ "amount": null,
42
+ "payee": null,
43
43
  "date_created": "2015-07-30T20:00:00Z",
44
44
  "date_updated": "2015-07-30T20:00:00Z"
45
45
  }
@@ -37,7 +37,7 @@ describe 'Verification' do
37
37
  "to": "+14159373912",
38
38
  "channel": "sms",
39
39
  "status": "pending",
40
- "valid": null,
40
+ "valid": false,
41
41
  "date_created": "2015-07-30T20:00:00Z",
42
42
  "date_updated": "2015-07-30T20:00:00Z",
43
43
  "lookup": {
@@ -49,8 +49,8 @@ describe 'Verification' do
49
49
  "type": "mobile"
50
50
  }
51
51
  },
52
- "amount": "$29.99",
53
- "payee": "Acme",
52
+ "amount": null,
53
+ "payee": null,
54
54
  "url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications/VEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
55
55
  }
56
56
  ]
@@ -73,7 +73,7 @@ describe 'Verification' do
73
73
  "to": "+14159373912",
74
74
  "channel": "sms",
75
75
  "status": "pending",
76
- "valid": null,
76
+ "valid": false,
77
77
  "date_created": "2015-07-30T20:00:00Z",
78
78
  "date_updated": "2015-07-30T20:00:00Z",
79
79
  "lookup": {
@@ -126,7 +126,7 @@ describe 'Verification' do
126
126
  "to": "+14159373912",
127
127
  "channel": "sms",
128
128
  "status": "canceled",
129
- "valid": null,
129
+ "valid": false,
130
130
  "date_created": "2015-07-30T20:00:00Z",
131
131
  "date_updated": "2015-07-30T20:00:00Z",
132
132
  "lookup": {
@@ -138,8 +138,8 @@ describe 'Verification' do
138
138
  "type": "mobile"
139
139
  }
140
140
  },
141
- "amount": "$29.99",
142
- "payee": "Acme",
141
+ "amount": null,
142
+ "payee": null,
143
143
  "url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications/VEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
144
144
  }
145
145
  ]
@@ -178,7 +178,7 @@ describe 'Verification' do
178
178
  "to": "+14159373912",
179
179
  "channel": "sms",
180
180
  "status": "pending",
181
- "valid": null,
181
+ "valid": false,
182
182
  "date_created": "2015-07-30T20:00:00Z",
183
183
  "date_updated": "2015-07-30T20:00:00Z",
184
184
  "lookup": {
@@ -190,8 +190,8 @@ describe 'Verification' do
190
190
  "type": "mobile"
191
191
  }
192
192
  },
193
- "amount": "$29.99",
194
- "payee": "Acme",
193
+ "amount": null,
194
+ "payee": null,
195
195
  "url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications/VEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
196
196
  }
197
197
  ]
@@ -45,7 +45,8 @@ describe 'Service' do
45
45
  "links": {
46
46
  "verification_checks": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/VerificationCheck",
47
47
  "verifications": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications",
48
- "rate_limits": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RateLimits"
48
+ "rate_limits": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RateLimits",
49
+ "messaging_configurations": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/MessagingConfigurations"
49
50
  }
50
51
  }
51
52
  ]
@@ -91,7 +92,8 @@ describe 'Service' do
91
92
  "links": {
92
93
  "verification_checks": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/VerificationCheck",
93
94
  "verifications": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications",
94
- "rate_limits": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RateLimits"
95
+ "rate_limits": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RateLimits",
96
+ "messaging_configurations": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/MessagingConfigurations"
95
97
  }
96
98
  }
97
99
  ]
@@ -174,7 +176,8 @@ describe 'Service' do
174
176
  "links": {
175
177
  "verification_checks": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/VerificationCheck",
176
178
  "verifications": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications",
177
- "rate_limits": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RateLimits"
179
+ "rate_limits": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RateLimits",
180
+ "messaging_configurations": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/MessagingConfigurations"
178
181
  }
179
182
  }
180
183
  ]
@@ -222,7 +225,8 @@ describe 'Service' do
222
225
  "links": {
223
226
  "verification_checks": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/VerificationCheck",
224
227
  "verifications": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications",
225
- "rate_limits": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RateLimits"
228
+ "rate_limits": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RateLimits",
229
+ "messaging_configurations": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/MessagingConfigurations"
226
230
  }
227
231
  }
228
232
  ]
@@ -33,10 +33,58 @@ describe 'UsageRecord' do
33
33
  "usage_records": [
34
34
  {
35
35
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
36
- "commands": {},
37
- "data": {},
36
+ "commands": {
37
+ "billing_units": "USD",
38
+ "billed": 0,
39
+ "total": 3,
40
+ "from_sim": 1,
41
+ "to_sim": 2,
42
+ "home": {
43
+ "billing_units": "USD",
44
+ "billed": 0,
45
+ "total": 3,
46
+ "from_sim": 1,
47
+ "to_sim": 2
48
+ },
49
+ "national_roaming": {
50
+ "billing_units": "USD",
51
+ "billed": 0,
52
+ "total": 0,
53
+ "from_sim": 0,
54
+ "to_sim": 0
55
+ },
56
+ "international_roaming": []
57
+ },
58
+ "data": {
59
+ "billing_units": "USD",
60
+ "billed": 0.35,
61
+ "total": 3494609,
62
+ "upload": 731560,
63
+ "download": 2763049,
64
+ "units": "bytes",
65
+ "home": {
66
+ "billing_units": "USD",
67
+ "billed": 0.35,
68
+ "total": 3494609,
69
+ "upload": 731560,
70
+ "download": 2763049,
71
+ "units": "bytes"
72
+ },
73
+ "national_roaming": {
74
+ "billing_units": "USD",
75
+ "billed": 0,
76
+ "total": 0,
77
+ "upload": 0,
78
+ "download": 0,
79
+ "units": "bytes"
80
+ },
81
+ "international_roaming": []
82
+ },
38
83
  "sim_sid": "DEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
39
- "period": {}
84
+ "period": {
85
+ "start": "2015-07-30T20:00:00Z",
86
+ "end": "2015-07-30T20:00:00Z"
87
+ }
40
88
  },
41
89
  {
42
90
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
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.24.0
4
+ version: 5.25.0
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-06-12 00:00:00.000000000 Z
11
+ date: 2019-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -383,6 +383,7 @@ files:
383
383
  - lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb
384
384
  - lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb
385
385
  - lib/twilio-ruby/rest/preview/trusted_comms.rb
386
+ - lib/twilio-ruby/rest/preview/trusted_comms/cps.rb
386
387
  - lib/twilio-ruby/rest/preview/trusted_comms/current_call.rb
387
388
  - lib/twilio-ruby/rest/preview/trusted_comms/device.rb
388
389
  - lib/twilio-ruby/rest/preview/trusted_comms/phone_call.rb
@@ -501,6 +502,7 @@ files:
501
502
  - lib/twilio-ruby/rest/verify.rb
502
503
  - lib/twilio-ruby/rest/verify/v2.rb
503
504
  - lib/twilio-ruby/rest/verify/v2/service.rb
505
+ - lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb
504
506
  - lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb
505
507
  - lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb
506
508
  - lib/twilio-ruby/rest/verify/v2/service/verification.rb
@@ -730,6 +732,7 @@ files:
730
732
  - spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb
731
733
  - spec/integration/preview/sync/service/sync_map_spec.rb
732
734
  - spec/integration/preview/sync/service_spec.rb
735
+ - spec/integration/preview/trusted_comms/cps_spec.rb
733
736
  - spec/integration/preview/trusted_comms/current_call_spec.rb
734
737
  - spec/integration/preview/trusted_comms/device_spec.rb
735
738
  - spec/integration/preview/trusted_comms/phone_call_spec.rb
@@ -828,6 +831,7 @@ files:
828
831
  - spec/integration/trunking/v1/trunk/phone_number_spec.rb
829
832
  - spec/integration/trunking/v1/trunk/terminating_sip_domain_spec.rb
830
833
  - spec/integration/trunking/v1/trunk_spec.rb
834
+ - spec/integration/verify/v2/service/messaging_configuration_spec.rb
831
835
  - spec/integration/verify/v2/service/rate_limit/bucket_spec.rb
832
836
  - spec/integration/verify/v2/service/rate_limit_spec.rb
833
837
  - spec/integration/verify/v2/service/verification_check_spec.rb
@@ -1090,6 +1094,7 @@ test_files:
1090
1094
  - spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb
1091
1095
  - spec/integration/preview/sync/service/sync_map_spec.rb
1092
1096
  - spec/integration/preview/sync/service_spec.rb
1097
+ - spec/integration/preview/trusted_comms/cps_spec.rb
1093
1098
  - spec/integration/preview/trusted_comms/current_call_spec.rb
1094
1099
  - spec/integration/preview/trusted_comms/device_spec.rb
1095
1100
  - spec/integration/preview/trusted_comms/phone_call_spec.rb
@@ -1188,6 +1193,7 @@ test_files:
1188
1193
  - spec/integration/trunking/v1/trunk/phone_number_spec.rb
1189
1194
  - spec/integration/trunking/v1/trunk/terminating_sip_domain_spec.rb
1190
1195
  - spec/integration/trunking/v1/trunk_spec.rb
1196
+ - spec/integration/verify/v2/service/messaging_configuration_spec.rb
1191
1197
  - spec/integration/verify/v2/service/rate_limit/bucket_spec.rb
1192
1198
  - spec/integration/verify/v2/service/rate_limit_spec.rb
1193
1199
  - spec/integration/verify/v2/service/verification_check_spec.rb