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.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +92 -40
  3. data/CONTRIBUTING.md +10 -8
  4. data/README.md +128 -46
  5. data/UPGRADE.md +7 -4
  6. data/advanced-examples/custom-http-client.md +170 -0
  7. data/lib/twilio-ruby/jwt/access_token.rb +0 -59
  8. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +1 -6
  9. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +7 -42
  10. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -42
  11. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +2 -10
  12. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +1 -6
  13. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +1 -5
  14. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +2 -11
  15. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +1 -5
  16. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +1 -6
  17. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +2 -10
  18. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +1 -5
  19. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +3 -16
  20. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +1 -5
  21. data/lib/twilio-ruby/rest/api/v2010/account.rb +24 -103
  22. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +1 -5
  23. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +2 -10
  24. data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +6 -24
  25. data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +2 -9
  26. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +3 -15
  27. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +1 -6
  28. data/lib/twilio-ruby/rest/chat/v1/service.rb +3 -12
  29. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +4 -20
  30. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +2 -10
  31. data/lib/twilio-ruby/rest/chat/v2/service.rb +4 -16
  32. data/lib/twilio-ruby/rest/client.rb +16 -15
  33. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +1 -5
  34. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +6 -36
  35. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +1 -6
  36. data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +6 -39
  37. data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +1 -5
  38. data/lib/twilio-ruby/rest/conversations/v1/service.rb +5 -21
  39. data/lib/twilio-ruby/rest/conversations/v1/user.rb +1 -4
  40. data/lib/twilio-ruby/rest/events/v1/schema.rb +1 -4
  41. data/lib/twilio-ruby/rest/events/v1/sink.rb +2 -10
  42. data/lib/twilio-ruby/rest/events/v1/subscription.rb +1 -4
  43. data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +20 -20
  44. data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +5 -5
  45. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +23 -23
  46. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +13 -13
  47. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +31 -31
  48. data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +13 -86
  49. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +1 -1
  50. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +1 -1
  51. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +2 -11
  52. data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +1 -4
  53. data/lib/twilio-ruby/rest/flex_api/v1.rb +30 -39
  54. data/lib/twilio-ruby/rest/insights/v1/call.rb +2 -10
  55. data/lib/twilio-ruby/rest/insights/v1/conference.rb +1 -4
  56. data/lib/twilio-ruby/rest/insights/v1/room.rb +1 -4
  57. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +3 -15
  58. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +1 -6
  59. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +3 -12
  60. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +4 -20
  61. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +2 -10
  62. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +4 -16
  63. data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +2 -9
  64. data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +2 -21
  65. data/lib/twilio-ruby/rest/messaging/v1/service.rb +31 -47
  66. data/lib/twilio-ruby/rest/messaging/v1.rb +0 -15
  67. data/lib/twilio-ruby/rest/messaging.rb +1 -1
  68. data/lib/twilio-ruby/rest/microvisor/v1/device.rb +2 -8
  69. data/lib/twilio-ruby/rest/microvisor.rb +2 -1
  70. data/lib/twilio-ruby/rest/notify/v1/service.rb +2 -9
  71. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +4 -18
  72. data/lib/twilio-ruby/rest/oauth.rb +1 -1
  73. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +4 -16
  74. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +1 -5
  75. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +1 -4
  76. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +1 -4
  77. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +1 -5
  78. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -10
  79. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -10
  80. data/lib/twilio-ruby/rest/preview/sync/service.rb +3 -12
  81. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +1 -5
  82. data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +2 -10
  83. data/lib/twilio-ruby/rest/preview/understand/assistant.rb +5 -20
  84. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -6
  85. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +2 -10
  86. data/lib/twilio-ruby/rest/proxy/v1/service.rb +3 -12
  87. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +1 -5
  88. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +3 -15
  89. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +1 -5
  90. data/lib/twilio-ruby/rest/serverless/v1/service.rb +4 -16
  91. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +1 -5
  92. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +1 -5
  93. data/lib/twilio-ruby/rest/studio/v1/flow.rb +2 -8
  94. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +1 -5
  95. data/lib/twilio-ruby/rest/studio/v2/flow.rb +2 -8
  96. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +1 -4
  97. data/lib/twilio-ruby/rest/supersim/v1/sim.rb +2 -10
  98. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +1 -5
  99. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +2 -10
  100. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +2 -10
  101. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +1 -6
  102. data/lib/twilio-ruby/rest/sync/v1/service.rb +4 -16
  103. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +1 -5
  104. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +2 -10
  105. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +7 -28
  106. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +4 -16
  107. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +3 -12
  108. data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +3 -12
  109. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +1 -7
  110. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +3 -16
  111. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +1 -5
  112. data/lib/twilio-ruby/rest/verify/v2/service.rb +11 -33
  113. data/lib/twilio-ruby/rest/verify/v2/template.rb +5 -5
  114. data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -16
  115. data/lib/twilio-ruby/rest/video/v1/room.rb +3 -13
  116. data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +1 -4
  117. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +1 -5
  118. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +2 -10
  119. data/lib/twilio-ruby/version.rb +1 -1
  120. data/twilio-ruby.gemspec +1 -1
  121. metadata +9 -9
  122. 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 30 characters long. **This value should not contain PII.**
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 30 characters long. **This value should not contain PII.**
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 30 characters long. **This value should not contain PII.**
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
@@ -214,10 +214,7 @@ module Twilio
214
214
 
215
215
  unless @targets
216
216
  @targets = ConnectionPolicyTargetList.new(
217
- @version,
218
- connection_policy_sid: @solution[:sid]
219
-
220
- )
217
+ @version, connection_policy_sid: @solution[:sid], )
221
218
  end
222
219
 
223
220
  @targets
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '6.0.0-rc.2'
2
+ VERSION = '6.0.0'
3
3
  end
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', '<= 2.6')
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.pre.rc.2
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-06 00:00:00.000000000 Z
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: '2.6'
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: '2.6'
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: 1.3.1
873
+ version: '0'
874
874
  requirements: []
875
875
  rubyforge_project:
876
876
  rubygems_version: 2.6.14.4