twilio-ruby 5.31.3 → 5.31.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +22 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +7 -1
- data/lib/twilio-ruby/rest/authy/v1/service/entity/factor.rb +3 -2
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +7 -0
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +18 -18
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +14 -5
- data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +4 -5
- data/lib/twilio-ruby/rest/video/v1/composition.rb +3 -2
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/integration/api/v2010/account/conference/participant_spec.rb +29 -0
- data/spec/integration/autopilot/v1/assistant/query_spec.rb +8 -4
- data/spec/integration/verify/v2/service/verification_spec.rb +30 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37e65b21d8bff454df1a87954a26b1864e739b6df7e5502a57581c9b819e5c08
|
4
|
+
data.tar.gz: 1e05c610b77492a5ff0968927d87ed975ba0ece9a22850724e4d69b514782447
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 774f68bfe20691c80a5fd69ee8d56b7ede5d0bd0b6d34f279564f83278151d8ce6dfe51b1651e75fc60c70876a1d076f318f6fad8d91164290b5e2fbb08c7c61
|
7
|
+
data.tar.gz: 8443537cd92bfdd94b66afe9d88a36ce5cd61779095cb8eeecb0e22ec8214026365aae4fc656fd41736aaff2b65d303ad2e0ec3d4d94daa625e2e7c7b743b788
|
data/CHANGES.md
CHANGED
@@ -1,6 +1,28 @@
|
|
1
1
|
twilio-ruby changelog
|
2
2
|
=====================
|
3
3
|
|
4
|
+
[2020-02-05] Version 5.31.4
|
5
|
+
---------------------------
|
6
|
+
**Api**
|
7
|
+
- Making content retention and address retention public
|
8
|
+
- Update `status` enum for Messages to include 'partially_delivered'
|
9
|
+
|
10
|
+
**Authy**
|
11
|
+
- Added support for push factors
|
12
|
+
|
13
|
+
**Autopilot**
|
14
|
+
- Add one new property in Query i.e dialogue_sid
|
15
|
+
|
16
|
+
**Verify**
|
17
|
+
- Add `SendCodeAttempts` to create verification response.
|
18
|
+
|
19
|
+
**Video**
|
20
|
+
- Clarification in composition creation documentation: one source is mandatory, either `audio_sources` or `video_layout`, but on of them has to be provided
|
21
|
+
|
22
|
+
**Twiml**
|
23
|
+
- Add Polly Neural voices.
|
24
|
+
|
25
|
+
|
4
26
|
[2020-01-22] Version 5.31.3
|
5
27
|
---------------------------
|
6
28
|
**Library - Docs**
|
data/README.md
CHANGED
@@ -32,13 +32,13 @@ This library supports the following Ruby implementations:
|
|
32
32
|
To install using [Bundler][bundler] grab the latest stable version:
|
33
33
|
|
34
34
|
```ruby
|
35
|
-
gem 'twilio-ruby', '~> 5.31.
|
35
|
+
gem 'twilio-ruby', '~> 5.31.4'
|
36
36
|
```
|
37
37
|
|
38
38
|
To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
|
39
39
|
|
40
40
|
```bash
|
41
|
-
gem install twilio-ruby -v 5.31.
|
41
|
+
gem install twilio-ruby -v 5.31.4
|
42
42
|
```
|
43
43
|
|
44
44
|
To build and install the development branch yourself from the latest source:
|
@@ -70,6 +70,10 @@ module Twilio
|
|
70
70
|
# guarantee that the message will not be queued after this period. We recommend
|
71
71
|
# that this value be at least 5 seconds.
|
72
72
|
# @param [Boolean] force_delivery Reserved
|
73
|
+
# @param [message.ContentRetention] content_retention Determines if the message
|
74
|
+
# content can be stored or redacted based on privacy settings
|
75
|
+
# @param [message.AddressRetention] address_retention Determines if the address
|
76
|
+
# can be stored or obfuscated based on privacy settings
|
73
77
|
# @param [Boolean] smart_encoded Whether to detect Unicode characters that have a
|
74
78
|
# similar GSM-7 character and replace them. Can be: `true` or `false`.
|
75
79
|
# @param [String] persistent_action Rich actions for Channels Messages.
|
@@ -96,7 +100,7 @@ module Twilio
|
|
96
100
|
# parameters in the POST request. You can include up to 10 `media_url` parameters
|
97
101
|
# per message. You can send images in an SMS message in only the US and Canada.
|
98
102
|
# @return [MessageInstance] Newly created MessageInstance
|
99
|
-
def create(to: nil, status_callback: :unset, application_sid: :unset, max_price: :unset, provide_feedback: :unset, validity_period: :unset, force_delivery: :unset, smart_encoded: :unset, persistent_action: :unset, from: :unset, messaging_service_sid: :unset, body: :unset, media_url: :unset)
|
103
|
+
def create(to: nil, status_callback: :unset, application_sid: :unset, max_price: :unset, provide_feedback: :unset, validity_period: :unset, force_delivery: :unset, content_retention: :unset, address_retention: :unset, smart_encoded: :unset, persistent_action: :unset, from: :unset, messaging_service_sid: :unset, body: :unset, media_url: :unset)
|
100
104
|
data = Twilio::Values.of({
|
101
105
|
'To' => to,
|
102
106
|
'From' => from,
|
@@ -109,6 +113,8 @@ module Twilio
|
|
109
113
|
'ProvideFeedback' => provide_feedback,
|
110
114
|
'ValidityPeriod' => validity_period,
|
111
115
|
'ForceDelivery' => force_delivery,
|
116
|
+
'ContentRetention' => content_retention,
|
117
|
+
'AddressRetention' => address_retention,
|
112
118
|
'SmartEncoded' => smart_encoded,
|
113
119
|
'PersistentAction' => Twilio.serialize_list(persistent_action) { |e| e },
|
114
120
|
})
|
@@ -34,8 +34,9 @@ module Twilio
|
|
34
34
|
# Retrieve a single page of FactorInstance records from the API.
|
35
35
|
# Request is executed immediately.
|
36
36
|
# @param [String] binding A unique binding for this Factor that identifies it.
|
37
|
-
# E.g. a phone number for `sms` factors.
|
38
|
-
#
|
37
|
+
# E.g. a phone number for `sms` factors. It must be a json string with the
|
38
|
+
# required properties for the given factor type. Required when creating a new
|
39
|
+
# Factor. This value is never returned because it can contain customer secrets.
|
39
40
|
# @param [String] friendly_name The friendly name of this Factor
|
40
41
|
# @param [factor.FactorTypes] factor_type The Type of this Factor. One of
|
41
42
|
# `app-push`, `sms`, `totp`, etc.
|
@@ -320,6 +320,7 @@ module Twilio
|
|
320
320
|
'status' => payload['status'],
|
321
321
|
'url' => payload['url'],
|
322
322
|
'source_channel' => payload['source_channel'],
|
323
|
+
'dialogue_sid' => payload['dialogue_sid'],
|
323
324
|
}
|
324
325
|
|
325
326
|
# Context
|
@@ -416,6 +417,12 @@ module Twilio
|
|
416
417
|
@properties['source_channel']
|
417
418
|
end
|
418
419
|
|
420
|
+
##
|
421
|
+
# @return [String] The SID of the [Dialogue](https://www.twilio.com/docs/autopilot/api/dialogue).
|
422
|
+
def dialogue_sid
|
423
|
+
@properties['dialogue_sid']
|
424
|
+
end
|
425
|
+
|
419
426
|
##
|
420
427
|
# Fetch a QueryInstance
|
421
428
|
# @return [QueryInstance] Fetched QueryInstance
|
@@ -29,12 +29,12 @@ module Twilio
|
|
29
29
|
# memory before returning.
|
30
30
|
# @param [String] log_level Only show alerts for this log-level. Can be: `error`,
|
31
31
|
# `warning`, `notice`, or `debug`.
|
32
|
-
# @param [Date] start_date Only include alerts that occurred on or after this
|
33
|
-
#
|
34
|
-
# older than 30 days are not supported.
|
35
|
-
# @param [Date] end_date Only include alerts that occurred on or before this date
|
36
|
-
# Specify the date in GMT and format as `YYYY-MM-DD
|
37
|
-
# than 30 days are not supported.
|
32
|
+
# @param [Date] start_date Only include alerts that occurred on or after this date
|
33
|
+
# and time. Specify the date and time in GMT and format as `YYYY-MM-DD` or
|
34
|
+
# `YYYY-MM-DDThh:mm:ssZ`. Queries for alerts older than 30 days are not supported.
|
35
|
+
# @param [Date] end_date Only include alerts that occurred on or before this date
|
36
|
+
# and time. Specify the date and time in GMT and format as `YYYY-MM-DD` or
|
37
|
+
# `YYYY-MM-DDThh:mm:ssZ`. Queries for alerts older than 30 days are not supported.
|
38
38
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
39
39
|
# guarantees to never return more than limit. Default is no limit
|
40
40
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -58,12 +58,12 @@ module Twilio
|
|
58
58
|
# is reached.
|
59
59
|
# @param [String] log_level Only show alerts for this log-level. Can be: `error`,
|
60
60
|
# `warning`, `notice`, or `debug`.
|
61
|
-
# @param [Date] start_date Only include alerts that occurred on or after this
|
62
|
-
#
|
63
|
-
# older than 30 days are not supported.
|
64
|
-
# @param [Date] end_date Only include alerts that occurred on or before this date
|
65
|
-
# Specify the date in GMT and format as `YYYY-MM-DD
|
66
|
-
# than 30 days are not supported.
|
61
|
+
# @param [Date] start_date Only include alerts that occurred on or after this date
|
62
|
+
# and time. Specify the date and time in GMT and format as `YYYY-MM-DD` or
|
63
|
+
# `YYYY-MM-DDThh:mm:ssZ`. Queries for alerts older than 30 days are not supported.
|
64
|
+
# @param [Date] end_date Only include alerts that occurred on or before this date
|
65
|
+
# and time. Specify the date and time in GMT and format as `YYYY-MM-DD` or
|
66
|
+
# `YYYY-MM-DDThh:mm:ssZ`. Queries for alerts older than 30 days are not supported.
|
67
67
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
68
68
|
# guarantees to never return more than limit. Default is no limit.
|
69
69
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -103,12 +103,12 @@ module Twilio
|
|
103
103
|
# Request is executed immediately.
|
104
104
|
# @param [String] log_level Only show alerts for this log-level. Can be: `error`,
|
105
105
|
# `warning`, `notice`, or `debug`.
|
106
|
-
# @param [Date] start_date Only include alerts that occurred on or after this
|
107
|
-
#
|
108
|
-
# older than 30 days are not supported.
|
109
|
-
# @param [Date] end_date Only include alerts that occurred on or before this date
|
110
|
-
# Specify the date in GMT and format as `YYYY-MM-DD
|
111
|
-
# than 30 days are not supported.
|
106
|
+
# @param [Date] start_date Only include alerts that occurred on or after this date
|
107
|
+
# and time. Specify the date and time in GMT and format as `YYYY-MM-DD` or
|
108
|
+
# `YYYY-MM-DDThh:mm:ssZ`. Queries for alerts older than 30 days are not supported.
|
109
|
+
# @param [Date] end_date Only include alerts that occurred on or before this date
|
110
|
+
# and time. Specify the date and time in GMT and format as `YYYY-MM-DD` or
|
111
|
+
# `YYYY-MM-DDThh:mm:ssZ`. Queries for alerts older than 30 days are not supported.
|
112
112
|
# @param [String] page_token PageToken provided by the API
|
113
113
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
114
114
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
@@ -30,10 +30,11 @@ module Twilio
|
|
30
30
|
##
|
31
31
|
# Retrieve a single page of VerificationInstance records from the API.
|
32
32
|
# Request is executed immediately.
|
33
|
-
# @param [String] to The phone number or
|
34
|
-
# [
|
33
|
+
# @param [String] to The phone number or
|
34
|
+
# [email](https://www.twilio.com/docs/verify/email) to verify. Phone numbers must
|
35
|
+
# be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
|
35
36
|
# @param [String] channel The verification method to use. Can be:
|
36
|
-
# [`email
|
37
|
+
# [`email`](https://www.twilio.com/docs/verify/email), `sms` or `call`.
|
37
38
|
# @param [String] custom_message The text of a custom message to use for the
|
38
39
|
# verification.
|
39
40
|
# @param [String] send_digits The digits to send after a phone call is answered,
|
@@ -54,8 +55,9 @@ module Twilio
|
|
54
55
|
# Limits. Keys should be the unique_name configured while creating you Rate Limit
|
55
56
|
# along with the associated values for each particular request. You may include
|
56
57
|
# multiple Rate Limit values in each request.
|
57
|
-
# @param [Hash] channel_configuration
|
58
|
-
#
|
58
|
+
# @param [Hash] channel_configuration
|
59
|
+
# [`email`](https://www.twilio.com/docs/verify/email) channel configuration in
|
60
|
+
# json format. Must include 'from' and 'from_name'.
|
59
61
|
# @param [String] app_hash Your [App
|
60
62
|
# Hash](https://developers.google.com/identity/sms-retriever/verify#computing_your_apps_hash_string) to be included at the end of an SMS. **Only applies for SMS.**
|
61
63
|
# @return [VerificationInstance] Newly created VerificationInstance
|
@@ -220,6 +222,7 @@ module Twilio
|
|
220
222
|
'lookup' => payload['lookup'],
|
221
223
|
'amount' => payload['amount'],
|
222
224
|
'payee' => payload['payee'],
|
225
|
+
'send_code_attempts' => payload['send_code_attempts'],
|
223
226
|
'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
|
224
227
|
'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
|
225
228
|
'url' => payload['url'],
|
@@ -301,6 +304,12 @@ module Twilio
|
|
301
304
|
@properties['payee']
|
302
305
|
end
|
303
306
|
|
307
|
+
##
|
308
|
+
# @return [Hash] An array of verification attempt objects.
|
309
|
+
def send_code_attempts
|
310
|
+
@properties['send_code_attempts']
|
311
|
+
end
|
312
|
+
|
304
313
|
##
|
305
314
|
# @return [Time] The RFC 2822 date and time in GMT when the resource was created
|
306
315
|
def date_created
|
@@ -32,13 +32,12 @@ module Twilio
|
|
32
32
|
# Request is executed immediately.
|
33
33
|
# @param [String] code The 4-10 character string being verified.
|
34
34
|
# @param [String] to The phone number or
|
35
|
-
# [email](https://www.twilio.com/docs/verify/
|
36
|
-
#
|
37
|
-
#
|
35
|
+
# [email](https://www.twilio.com/docs/verify/email) to verify. Either this
|
36
|
+
# parameter or the `verification_sid` must be specified. Phone numbers must be in
|
37
|
+
# [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
|
38
38
|
# @param [String] verification_sid A SID that uniquely identifies the Verification
|
39
39
|
# Check. Either this parameter or the `to` phone
|
40
|
-
# number/[email](https://www.twilio.com/docs/verify/
|
41
|
-
# specified.
|
40
|
+
# number/[email](https://www.twilio.com/docs/verify/email) must be specified.
|
42
41
|
# @param [String] amount The amount of the associated PSD2 compliant transaction.
|
43
42
|
# Requires the PSD2 Service flag enabled.
|
44
43
|
# @param [String] payee The payee of the associated PSD2 compliant transaction.
|
@@ -155,14 +155,15 @@ module Twilio
|
|
155
155
|
# used as composition sources.
|
156
156
|
# @param [Hash] video_layout An object that describes the video layout of the
|
157
157
|
# composition in terms of regions. See [Specifying Video
|
158
|
-
# Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info.
|
158
|
+
# Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info. Please, be aware that either video_layout or audio_sources have to be provided to get a valid creation request
|
159
159
|
# @param [String] audio_sources An array of track names from the same group room
|
160
160
|
# to merge into the new composition. Can include zero or more track names. The new
|
161
161
|
# composition includes all audio sources specified in `audio_sources` except for
|
162
162
|
# those specified in `audio_sources_excluded`. The track names in this parameter
|
163
163
|
# can include an asterisk as a wild card character, which will match zero or more
|
164
164
|
# characters in a track name. For example, `student*` includes `student` as well
|
165
|
-
# as `studentTeam`.
|
165
|
+
# as `studentTeam`. Please, be aware that either video_layout or audio_sources
|
166
|
+
# have to be provided to get a valid creation request
|
166
167
|
# @param [String] audio_sources_excluded An array of track names to exclude. The
|
167
168
|
# new composition includes all audio sources specified in `audio_sources` except
|
168
169
|
# for those specified in `audio_sources_excluded`. The track names in this
|
data/lib/twilio-ruby/version.rb
CHANGED
@@ -235,6 +235,35 @@ describe 'Participant' do
|
|
235
235
|
expect(actual).to_not eq(nil)
|
236
236
|
end
|
237
237
|
|
238
|
+
it "receives create_with_non_e164_number responses" do
|
239
|
+
@holodeck.mock(Twilio::Response.new(
|
240
|
+
201,
|
241
|
+
%q[
|
242
|
+
{
|
243
|
+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
244
|
+
"call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
245
|
+
"conference_sid": "CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
246
|
+
"date_created": "Fri, 18 Feb 2011 21:07:19 +0000",
|
247
|
+
"date_updated": "Fri, 18 Feb 2011 21:07:19 +0000",
|
248
|
+
"end_conference_on_exit": false,
|
249
|
+
"muted": false,
|
250
|
+
"hold": false,
|
251
|
+
"status": "complete",
|
252
|
+
"start_conference_on_enter": true,
|
253
|
+
"coaching": false,
|
254
|
+
"call_sid_to_coach": null,
|
255
|
+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
|
256
|
+
}
|
257
|
+
]
|
258
|
+
))
|
259
|
+
|
260
|
+
actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
261
|
+
.conferences('CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
|
262
|
+
.participants.create(from: '+15017122661', to: '+15558675310')
|
263
|
+
|
264
|
+
expect(actual).to_not eq(nil)
|
265
|
+
end
|
266
|
+
|
238
267
|
it "can delete" do
|
239
268
|
@holodeck.mock(Twilio::Response.new(500, ''))
|
240
269
|
|
@@ -51,7 +51,8 @@ describe 'Query' do
|
|
51
51
|
"url": "https://autopilot.twilio.com/v1/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Queries/UHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
52
52
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
53
53
|
"sid": "UHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
54
|
-
"source_channel": "voice"
|
54
|
+
"source_channel": "voice",
|
55
|
+
"dialogue_sid": "UKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
55
56
|
}
|
56
57
|
]
|
57
58
|
))
|
@@ -131,7 +132,8 @@ describe 'Query' do
|
|
131
132
|
"url": "https://autopilot.twilio.com/v1/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Queries/UHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
132
133
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
133
134
|
"sid": "UHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
134
|
-
"source_channel": null
|
135
|
+
"source_channel": null,
|
136
|
+
"dialogue_sid": "UKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
135
137
|
}
|
136
138
|
],
|
137
139
|
"meta": {
|
@@ -196,7 +198,8 @@ describe 'Query' do
|
|
196
198
|
"url": "https://autopilot.twilio.com/v1/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Queries/UHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
197
199
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
198
200
|
"sid": "UHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
199
|
-
"source_channel": "voice"
|
201
|
+
"source_channel": "voice",
|
202
|
+
"dialogue_sid": null
|
200
203
|
}
|
201
204
|
]
|
202
205
|
))
|
@@ -249,7 +252,8 @@ describe 'Query' do
|
|
249
252
|
"url": "https://autopilot.twilio.com/v1/Assistants/UAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Queries/UHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
250
253
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
251
254
|
"sid": "UHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
252
|
-
"source_channel": "sms"
|
255
|
+
"source_channel": "sms",
|
256
|
+
"dialogue_sid": "UKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
253
257
|
}
|
254
258
|
]
|
255
259
|
))
|
@@ -51,6 +51,11 @@ describe 'Verification' do
|
|
51
51
|
},
|
52
52
|
"amount": null,
|
53
53
|
"payee": null,
|
54
|
+
"send_code_attempts": {
|
55
|
+
"time": "2015-07-30T20:00:00Z",
|
56
|
+
"channel": "SMS",
|
57
|
+
"channel_id": null
|
58
|
+
},
|
54
59
|
"url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications/VEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
55
60
|
}
|
56
61
|
]
|
@@ -87,6 +92,11 @@ describe 'Verification' do
|
|
87
92
|
},
|
88
93
|
"amount": null,
|
89
94
|
"payee": null,
|
95
|
+
"send_code_attempts": {
|
96
|
+
"time": "2015-07-30T20:00:00Z",
|
97
|
+
"channel": "EMAIL",
|
98
|
+
"channel_id": null
|
99
|
+
},
|
90
100
|
"url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications/VEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
91
101
|
}
|
92
102
|
]
|
@@ -123,6 +133,11 @@ describe 'Verification' do
|
|
123
133
|
},
|
124
134
|
"amount": null,
|
125
135
|
"payee": null,
|
136
|
+
"send_code_attempts": {
|
137
|
+
"time": "2015-07-30T20:00:00Z",
|
138
|
+
"channel": "SMS",
|
139
|
+
"channel_id": null
|
140
|
+
},
|
126
141
|
"url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications/VEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
127
142
|
}
|
128
143
|
]
|
@@ -176,6 +191,11 @@ describe 'Verification' do
|
|
176
191
|
},
|
177
192
|
"amount": null,
|
178
193
|
"payee": null,
|
194
|
+
"send_code_attempts": {
|
195
|
+
"time": "2015-07-30T20:00:00Z",
|
196
|
+
"channel": "SMS",
|
197
|
+
"channel_id": null
|
198
|
+
},
|
179
199
|
"url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications/VEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
180
200
|
}
|
181
201
|
]
|
@@ -212,6 +232,11 @@ describe 'Verification' do
|
|
212
232
|
},
|
213
233
|
"amount": null,
|
214
234
|
"payee": null,
|
235
|
+
"send_code_attempts": {
|
236
|
+
"time": "2015-07-30T20:00:00Z",
|
237
|
+
"channel": "SMS",
|
238
|
+
"channel_id": null
|
239
|
+
},
|
215
240
|
"url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications/VEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
216
241
|
}
|
217
242
|
]
|
@@ -264,6 +289,11 @@ describe 'Verification' do
|
|
264
289
|
},
|
265
290
|
"amount": null,
|
266
291
|
"payee": null,
|
292
|
+
"send_code_attempts": {
|
293
|
+
"time": "2015-07-30T20:00:00Z",
|
294
|
+
"channel": "SMS",
|
295
|
+
"channel_id": null
|
296
|
+
},
|
267
297
|
"url": "https://verify.twilio.com/v2/Services/VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Verifications/VEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
268
298
|
}
|
269
299
|
]
|
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.4
|
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: 2020-
|
11
|
+
date: 2020-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|