twilio-ruby 6.0.0.pre.rc.2 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +92 -40
- data/CONTRIBUTING.md +10 -8
- data/README.md +128 -46
- data/UPGRADE.md +7 -4
- data/advanced-examples/custom-http-client.md +170 -0
- data/lib/twilio-ruby/jwt/access_token.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +1 -6
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +7 -42
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -42
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +2 -10
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +1 -6
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +1 -5
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +2 -11
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +1 -5
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +1 -6
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +2 -10
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +1 -5
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +3 -16
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +1 -5
- data/lib/twilio-ruby/rest/api/v2010/account.rb +24 -103
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +1 -5
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +2 -10
- data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +6 -24
- data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +2 -9
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +3 -15
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +1 -6
- data/lib/twilio-ruby/rest/chat/v1/service.rb +3 -12
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +4 -20
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +2 -10
- data/lib/twilio-ruby/rest/chat/v2/service.rb +4 -16
- data/lib/twilio-ruby/rest/client.rb +16 -15
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +1 -5
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +6 -36
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +1 -6
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +6 -39
- data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +1 -5
- data/lib/twilio-ruby/rest/conversations/v1/service.rb +5 -21
- data/lib/twilio-ruby/rest/conversations/v1/user.rb +1 -4
- data/lib/twilio-ruby/rest/events/v1/schema.rb +1 -4
- data/lib/twilio-ruby/rest/events/v1/sink.rb +2 -10
- data/lib/twilio-ruby/rest/events/v1/subscription.rb +1 -4
- data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +20 -20
- data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +5 -5
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +23 -23
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +13 -13
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +31 -31
- data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +13 -86
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +2 -11
- data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +1 -4
- data/lib/twilio-ruby/rest/flex_api/v1.rb +30 -39
- data/lib/twilio-ruby/rest/insights/v1/call.rb +2 -10
- data/lib/twilio-ruby/rest/insights/v1/conference.rb +1 -4
- data/lib/twilio-ruby/rest/insights/v1/room.rb +1 -4
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +3 -15
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +1 -6
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +3 -12
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +4 -20
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +2 -10
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +4 -16
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +2 -9
- data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +2 -21
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +31 -47
- data/lib/twilio-ruby/rest/messaging/v1.rb +0 -15
- data/lib/twilio-ruby/rest/messaging.rb +1 -1
- data/lib/twilio-ruby/rest/microvisor/v1/device.rb +2 -8
- data/lib/twilio-ruby/rest/microvisor.rb +2 -1
- data/lib/twilio-ruby/rest/notify/v1/service.rb +2 -9
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +4 -18
- data/lib/twilio-ruby/rest/oauth.rb +1 -1
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +4 -16
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +1 -5
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +1 -4
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +1 -4
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +1 -5
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -10
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -10
- data/lib/twilio-ruby/rest/preview/sync/service.rb +3 -12
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +1 -5
- data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +2 -10
- data/lib/twilio-ruby/rest/preview/understand/assistant.rb +5 -20
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -6
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +2 -10
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +3 -12
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +1 -5
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +3 -15
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +1 -5
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +4 -16
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +1 -5
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +1 -5
- data/lib/twilio-ruby/rest/studio/v1/flow.rb +2 -8
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +1 -5
- data/lib/twilio-ruby/rest/studio/v2/flow.rb +2 -8
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +1 -4
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +2 -10
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +1 -5
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +2 -10
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +2 -10
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +1 -6
- data/lib/twilio-ruby/rest/sync/v1/service.rb +4 -16
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +1 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +2 -10
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +7 -28
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +4 -16
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +3 -12
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +3 -12
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +1 -7
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +3 -16
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +1 -5
- data/lib/twilio-ruby/rest/verify/v2/service.rb +11 -33
- data/lib/twilio-ruby/rest/verify/v2/template.rb +5 -5
- data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -16
- data/lib/twilio-ruby/rest/video/v1/room.rb +3 -13
- data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +1 -4
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +1 -5
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +2 -10
- data/lib/twilio-ruby/version.rb +1 -1
- data/twilio-ruby.gemspec +1 -1
- metadata +9 -9
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +0 -730
@@ -194,13 +194,8 @@ module Twilio
|
|
194
194
|
def new_factors
|
195
195
|
unless @new_factors
|
196
196
|
@new_factors = NewFactorList.new(
|
197
|
-
@version,
|
198
|
-
service_sid: @solution[:service_sid],
|
199
|
-
entity_identity: @solution[:identity]
|
200
|
-
|
201
|
-
)
|
197
|
+
@version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
|
202
198
|
end
|
203
|
-
|
204
199
|
@new_factors
|
205
200
|
end
|
206
201
|
##
|
@@ -217,11 +212,7 @@ module Twilio
|
|
217
212
|
|
218
213
|
unless @factors
|
219
214
|
@factors = FactorList.new(
|
220
|
-
@version,
|
221
|
-
service_sid: @solution[:service_sid],
|
222
|
-
entity_identity: @solution[:identity]
|
223
|
-
|
224
|
-
)
|
215
|
+
@version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
|
225
216
|
end
|
226
217
|
|
227
218
|
@factors
|
@@ -240,11 +231,7 @@ module Twilio
|
|
240
231
|
|
241
232
|
unless @challenges
|
242
233
|
@challenges = ChallengeList.new(
|
243
|
-
@version,
|
244
|
-
service_sid: @solution[:service_sid],
|
245
|
-
entity_identity: @solution[:identity]
|
246
|
-
|
247
|
-
)
|
234
|
+
@version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
|
248
235
|
end
|
249
236
|
|
250
237
|
@challenges
|
@@ -223,11 +223,7 @@ module Twilio
|
|
223
223
|
|
224
224
|
unless @buckets
|
225
225
|
@buckets = BucketList.new(
|
226
|
-
@version,
|
227
|
-
service_sid: @solution[:service_sid],
|
228
|
-
rate_limit_sid: @solution[:sid]
|
229
|
-
|
230
|
-
)
|
226
|
+
@version, service_sid: @solution[:service_sid], rate_limit_sid: @solution[:sid], )
|
231
227
|
end
|
232
228
|
|
233
229
|
@buckets
|
@@ -31,7 +31,7 @@ module Twilio
|
|
31
31
|
end
|
32
32
|
##
|
33
33
|
# Create the ServiceInstance
|
34
|
-
# @param [String] friendly_name A descriptive string that you create to describe the verification service. It can be up to
|
34
|
+
# @param [String] friendly_name A descriptive string that you create to describe the verification service. It can be up to 32 characters long. **This value should not contain PII.**
|
35
35
|
# @param [String] code_length The length of the verification code to generate. Must be an integer value between 4 and 10, inclusive.
|
36
36
|
# @param [Boolean] lookup_enabled Whether to perform a lookup with each verification started and return info about the phone number.
|
37
37
|
# @param [Boolean] skip_sms_to_landlines Whether to skip sending SMS verifications to landlines. Requires `lookup_enabled`.
|
@@ -236,7 +236,7 @@ module Twilio
|
|
236
236
|
|
237
237
|
##
|
238
238
|
# Update the ServiceInstance
|
239
|
-
# @param [String] friendly_name A descriptive string that you create to describe the verification service. It can be up to
|
239
|
+
# @param [String] friendly_name A descriptive string that you create to describe the verification service. It can be up to 32 characters long. **This value should not contain PII.**
|
240
240
|
# @param [String] code_length The length of the verification code to generate. Must be an integer value between 4 and 10, inclusive.
|
241
241
|
# @param [Boolean] lookup_enabled Whether to perform a lookup with each verification started and return info about the phone number.
|
242
242
|
# @param [Boolean] skip_sms_to_landlines Whether to skip sending SMS verifications to landlines. Requires `lookup_enabled`.
|
@@ -309,12 +309,8 @@ module Twilio
|
|
309
309
|
def verification_checks
|
310
310
|
unless @verification_checks
|
311
311
|
@verification_checks = VerificationCheckList.new(
|
312
|
-
@version,
|
313
|
-
service_sid: @solution[:sid]
|
314
|
-
|
315
|
-
)
|
312
|
+
@version, service_sid: @solution[:sid], )
|
316
313
|
end
|
317
|
-
|
318
314
|
@verification_checks
|
319
315
|
end
|
320
316
|
##
|
@@ -331,10 +327,7 @@ module Twilio
|
|
331
327
|
|
332
328
|
unless @verifications
|
333
329
|
@verifications = VerificationList.new(
|
334
|
-
@version,
|
335
|
-
service_sid: @solution[:sid]
|
336
|
-
|
337
|
-
)
|
330
|
+
@version, service_sid: @solution[:sid], )
|
338
331
|
end
|
339
332
|
|
340
333
|
@verifications
|
@@ -353,10 +346,7 @@ module Twilio
|
|
353
346
|
|
354
347
|
unless @access_tokens
|
355
348
|
@access_tokens = AccessTokenList.new(
|
356
|
-
@version,
|
357
|
-
service_sid: @solution[:sid]
|
358
|
-
|
359
|
-
)
|
349
|
+
@version, service_sid: @solution[:sid], )
|
360
350
|
end
|
361
351
|
|
362
352
|
@access_tokens
|
@@ -375,10 +365,7 @@ module Twilio
|
|
375
365
|
|
376
366
|
unless @webhooks
|
377
367
|
@webhooks = WebhookList.new(
|
378
|
-
@version,
|
379
|
-
service_sid: @solution[:sid]
|
380
|
-
|
381
|
-
)
|
368
|
+
@version, service_sid: @solution[:sid], )
|
382
369
|
end
|
383
370
|
|
384
371
|
@webhooks
|
@@ -397,10 +384,7 @@ module Twilio
|
|
397
384
|
|
398
385
|
unless @messaging_configurations
|
399
386
|
@messaging_configurations = MessagingConfigurationList.new(
|
400
|
-
@version,
|
401
|
-
service_sid: @solution[:sid]
|
402
|
-
|
403
|
-
)
|
387
|
+
@version, service_sid: @solution[:sid], )
|
404
388
|
end
|
405
389
|
|
406
390
|
@messaging_configurations
|
@@ -419,10 +403,7 @@ module Twilio
|
|
419
403
|
|
420
404
|
unless @entities
|
421
405
|
@entities = EntityList.new(
|
422
|
-
@version,
|
423
|
-
service_sid: @solution[:sid]
|
424
|
-
|
425
|
-
)
|
406
|
+
@version, service_sid: @solution[:sid], )
|
426
407
|
end
|
427
408
|
|
428
409
|
@entities
|
@@ -441,10 +422,7 @@ module Twilio
|
|
441
422
|
|
442
423
|
unless @rate_limits
|
443
424
|
@rate_limits = RateLimitList.new(
|
444
|
-
@version,
|
445
|
-
service_sid: @solution[:sid]
|
446
|
-
|
447
|
-
)
|
425
|
+
@version, service_sid: @solution[:sid], )
|
448
426
|
end
|
449
427
|
|
450
428
|
@rate_limits
|
@@ -557,7 +535,7 @@ module Twilio
|
|
557
535
|
end
|
558
536
|
|
559
537
|
##
|
560
|
-
# @return [String] The string that you assigned to describe the verification service. **This value should not contain PII.**
|
538
|
+
# @return [String] The string that you assigned to describe the verification service. It can be up to 32 characters long. **This value should not contain PII.**
|
561
539
|
def friendly_name
|
562
540
|
@properties['friendly_name']
|
563
541
|
end
|
@@ -670,7 +648,7 @@ module Twilio
|
|
670
648
|
|
671
649
|
##
|
672
650
|
# Update the ServiceInstance
|
673
|
-
# @param [String] friendly_name A descriptive string that you create to describe the verification service. It can be up to
|
651
|
+
# @param [String] friendly_name A descriptive string that you create to describe the verification service. It can be up to 32 characters long. **This value should not contain PII.**
|
674
652
|
# @param [String] code_length The length of the verification code to generate. Must be an integer value between 4 and 10, inclusive.
|
675
653
|
# @param [Boolean] lookup_enabled Whether to perform a lookup with each verification started and return info about the phone number.
|
676
654
|
# @param [Boolean] skip_sms_to_landlines Whether to skip sending SMS verifications to landlines. Requires `lookup_enabled`.
|
@@ -34,7 +34,7 @@ module Twilio
|
|
34
34
|
# Lists TemplateInstance records from the API as a list.
|
35
35
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
36
36
|
# memory before returning.
|
37
|
-
# @param [String] friendly_name String filter used to query templates with a given friendly name
|
37
|
+
# @param [String] friendly_name String filter used to query templates with a given friendly name.
|
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
|
@@ -54,7 +54,7 @@ module Twilio
|
|
54
54
|
# Streams Instance records from the API as an Enumerable.
|
55
55
|
# This operation lazily loads records as efficiently as possible until the limit
|
56
56
|
# is reached.
|
57
|
-
# @param [String] friendly_name String filter used to query templates with a given friendly name
|
57
|
+
# @param [String] friendly_name String filter used to query templates with a given friendly name.
|
58
58
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
59
59
|
# guarantees to never return more than limit. Default is no limit
|
60
60
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -89,7 +89,7 @@ module Twilio
|
|
89
89
|
##
|
90
90
|
# Retrieve a single page of TemplateInstance records from the API.
|
91
91
|
# Request is executed immediately.
|
92
|
-
# @param [String] friendly_name String filter used to query templates with a given friendly name
|
92
|
+
# @param [String] friendly_name String filter used to query templates with a given friendly name.
|
93
93
|
# @param [String] page_token PageToken provided by the API
|
94
94
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
95
95
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
@@ -195,13 +195,13 @@ module Twilio
|
|
195
195
|
end
|
196
196
|
|
197
197
|
##
|
198
|
-
# @return [String] A descriptive string that you create to describe a Template.
|
198
|
+
# @return [String] A descriptive string that you create to describe a Template. It can be up to 32 characters long.
|
199
199
|
def friendly_name
|
200
200
|
@properties['friendly_name']
|
201
201
|
end
|
202
202
|
|
203
203
|
##
|
204
|
-
# @return [Array<String>] A list of channels that support the Template. Can include: sms, voice
|
204
|
+
# @return [Array<String>] A list of channels that support the Template. Can include: sms, voice.
|
205
205
|
def channels
|
206
206
|
@properties['channels']
|
207
207
|
end
|
@@ -216,13 +216,8 @@ module Twilio
|
|
216
216
|
def subscribe_rules
|
217
217
|
unless @subscribe_rules
|
218
218
|
@subscribe_rules = SubscribeRulesList.new(
|
219
|
-
@version,
|
220
|
-
room_sid: @solution[:room_sid],
|
221
|
-
participant_sid: @solution[:sid]
|
222
|
-
|
223
|
-
)
|
219
|
+
@version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], sid: @solution[:sid], )
|
224
220
|
end
|
225
|
-
|
226
221
|
@subscribe_rules
|
227
222
|
end
|
228
223
|
##
|
@@ -239,11 +234,7 @@ module Twilio
|
|
239
234
|
|
240
235
|
unless @subscribed_tracks
|
241
236
|
@subscribed_tracks = SubscribedTrackList.new(
|
242
|
-
@version,
|
243
|
-
room_sid: @solution[:room_sid],
|
244
|
-
participant_sid: @solution[:sid]
|
245
|
-
|
246
|
-
)
|
237
|
+
@version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], sid: @solution[:sid], )
|
247
238
|
end
|
248
239
|
|
249
240
|
@subscribed_tracks
|
@@ -273,11 +264,7 @@ module Twilio
|
|
273
264
|
|
274
265
|
unless @published_tracks
|
275
266
|
@published_tracks = PublishedTrackList.new(
|
276
|
-
@version,
|
277
|
-
room_sid: @solution[:room_sid],
|
278
|
-
participant_sid: @solution[:sid]
|
279
|
-
|
280
|
-
)
|
267
|
+
@version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], sid: @solution[:sid], )
|
281
268
|
end
|
282
269
|
|
283
270
|
@published_tracks
|
@@ -271,12 +271,8 @@ module Twilio
|
|
271
271
|
def recording_rules
|
272
272
|
unless @recording_rules
|
273
273
|
@recording_rules = RecordingRulesList.new(
|
274
|
-
@version,
|
275
|
-
room_sid: @solution[:sid]
|
276
|
-
|
277
|
-
)
|
274
|
+
@version, room_sid: @solution[:sid], )
|
278
275
|
end
|
279
|
-
|
280
276
|
@recording_rules
|
281
277
|
end
|
282
278
|
##
|
@@ -293,10 +289,7 @@ module Twilio
|
|
293
289
|
|
294
290
|
unless @participants
|
295
291
|
@participants = ParticipantList.new(
|
296
|
-
@version,
|
297
|
-
room_sid: @solution[:sid]
|
298
|
-
|
299
|
-
)
|
292
|
+
@version, room_sid: @solution[:sid], )
|
300
293
|
end
|
301
294
|
|
302
295
|
@participants
|
@@ -315,10 +308,7 @@ module Twilio
|
|
315
308
|
|
316
309
|
unless @recordings
|
317
310
|
@recordings = RoomRecordingList.new(
|
318
|
-
@version,
|
319
|
-
room_sid: @solution[:sid]
|
320
|
-
|
321
|
-
)
|
311
|
+
@version, room_sid: @solution[:sid], )
|
322
312
|
end
|
323
313
|
|
324
314
|
@recordings
|
@@ -206,12 +206,8 @@ module Twilio
|
|
206
206
|
def highrisk_special_prefixes
|
207
207
|
unless @highrisk_special_prefixes
|
208
208
|
@highrisk_special_prefixes = HighriskSpecialPrefixList.new(
|
209
|
-
@version,
|
210
|
-
country_iso_code: @solution[:iso_code]
|
211
|
-
|
212
|
-
)
|
209
|
+
@version, iso_code: @solution[:iso_code], )
|
213
210
|
end
|
214
|
-
|
215
211
|
@highrisk_special_prefixes
|
216
212
|
end
|
217
213
|
|
@@ -275,12 +275,8 @@ module Twilio
|
|
275
275
|
def data_sessions
|
276
276
|
unless @data_sessions
|
277
277
|
@data_sessions = DataSessionList.new(
|
278
|
-
@version,
|
279
|
-
sim_sid: @solution[:sid]
|
280
|
-
|
281
|
-
)
|
278
|
+
@version, sim_sid: @solution[:sid], )
|
282
279
|
end
|
283
|
-
|
284
280
|
@data_sessions
|
285
281
|
end
|
286
282
|
##
|
@@ -290,12 +286,8 @@ module Twilio
|
|
290
286
|
def usage_records
|
291
287
|
unless @usage_records
|
292
288
|
@usage_records = UsageRecordList.new(
|
293
|
-
@version,
|
294
|
-
sim_sid: @solution[:sid]
|
295
|
-
|
296
|
-
)
|
289
|
+
@version, sim_sid: @solution[:sid], )
|
297
290
|
end
|
298
|
-
|
299
291
|
@usage_records
|
300
292
|
end
|
301
293
|
|
data/lib/twilio-ruby/version.rb
CHANGED
data/twilio-ruby.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.extra_rdoc_files = ['README.md', 'LICENSE']
|
25
25
|
spec.rdoc_options = ['--line-numbers', '--inline-source', '--title', 'twilio-ruby', '--main', 'README.md']
|
26
26
|
|
27
|
-
spec.add_dependency('jwt', '>= 1.5', '
|
27
|
+
spec.add_dependency('jwt', '>= 1.5', '< 3.0')
|
28
28
|
spec.add_dependency('nokogiri', '>= 1.6', '< 2.0')
|
29
29
|
spec.add_dependency('faraday', '>= 0.9', '< 3.0')
|
30
30
|
# Workaround for RBX <= 2.2.1, should be fixed in next version
|
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: 6.0.0
|
4
|
+
version: 6.0.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: 2023-04
|
11
|
+
date: 2023-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -17,9 +17,9 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.5'
|
20
|
-
- - "
|
20
|
+
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '3.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +27,9 @@ dependencies:
|
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '1.5'
|
30
|
-
- - "
|
30
|
+
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '3.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: nokogiri
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -217,6 +217,7 @@ files:
|
|
217
217
|
- Rakefile
|
218
218
|
- UPGRADE.md
|
219
219
|
- VERSIONS.md
|
220
|
+
- advanced-examples/custom-http-client.md
|
220
221
|
- cluster_spec.rb
|
221
222
|
- conf/cacert.pem
|
222
223
|
- examples/examples.rb
|
@@ -532,7 +533,6 @@ files:
|
|
532
533
|
- lib/twilio-ruby/rest/messaging/v1/service/short_code.rb
|
533
534
|
- lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb
|
534
535
|
- lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb
|
535
|
-
- lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb
|
536
536
|
- lib/twilio-ruby/rest/messaging/v1/usecase.rb
|
537
537
|
- lib/twilio-ruby/rest/messaging_base.rb
|
538
538
|
- lib/twilio-ruby/rest/microvisor.rb
|
@@ -868,9 +868,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
868
868
|
version: 2.0.0
|
869
869
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
870
870
|
requirements:
|
871
|
-
- - "
|
871
|
+
- - ">="
|
872
872
|
- !ruby/object:Gem::Version
|
873
|
-
version:
|
873
|
+
version: '0'
|
874
874
|
requirements: []
|
875
875
|
rubyforge_project:
|
876
876
|
rubygems_version: 2.6.14.4
|