vonage 7.16.1 → 7.17.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c55251a1296c1c7e13ef6a3f491868be1d21c3b43905f21f3042c1901b2bef23
4
- data.tar.gz: d9ed23ef4f8b1e8a6a25bc4c72e904b9ffa7b2b622b60a1afd8369f1268b253f
3
+ metadata.gz: e40765a9a9b5858befa5702b61359c79941b70075618dbd071f32e8798dbceb0
4
+ data.tar.gz: 4c0b3a037b50b85507e3344e1455ede6dc59c75953466a1a060294f8e89f00e6
5
5
  SHA512:
6
- metadata.gz: 5ee43b28d5fad08043d51e30b4093939717dd3786e5ed1a85086d16bd3b88aec2535d957fdef93801ede173ec4b447d96ef504ed95f5dff6a1d2f3425f0dd013
7
- data.tar.gz: ac4727ee0577c863d4f2cb181003b0b67b3bc78e6b9b43e66da89a402d401e2459198ba336ace27e1588b9d2f7ecf67f157b30918fd56ab8b6a48cc63581e0d7
6
+ metadata.gz: f2b8d8a22e65833b766f17433786188b9d1d504109128fcc1cffd0bcfd3b1648897054e14089ebf85713165c453cd12b7e74ea9c7cb59785e7e53de9fc9c8c61
7
+ data.tar.gz: '08a5577b9121dee24869d6c32e1f9eb25dca5d09e071d69e5b115b6cab756ddccd296f16e7e446b3be6dc6e26055346b5eee2935ea64a784b7b5a77d45a7b1f6'
@@ -5,11 +5,6 @@ module Vonage
5
5
  class Verify2::StartVerificationOptions
6
6
  VALID_OPTS = [:locale, :channel_timeout, :client_ref, :code_length, :code, :fraud_check].freeze
7
7
 
8
- VALID_LOCALES = [
9
- 'en-us', 'en-gb', 'es-es', 'es-mx', 'es-us', 'it-it', 'fr-fr',
10
- 'de-de', 'ru-ru', 'hi-in', 'pt-br', 'pt-pt', 'id-id'
11
- ].freeze
12
-
13
8
  MIN_CHANNEL_TIMEOUT, MAX_CHANNEL_TIMEOUT = [60, 900]
14
9
 
15
10
  MIN_CODE_LENGTH, MAX_CODE_LENGTH = [4, 10]
@@ -23,10 +18,6 @@ module Vonage
23
18
  end
24
19
 
25
20
  def locale=(locale)
26
- unless VALID_LOCALES.include?(locale)
27
- raise ArgumentError, "Invalid 'locale' #{locale}. Please choose from the following #{VALID_LOCALES}"
28
- end
29
-
30
21
  @locale = locale
31
22
  end
32
23
 
@@ -1,5 +1,5 @@
1
1
  # typed: strong
2
2
 
3
3
  module Vonage
4
- VERSION = "7.16.1"
4
+ VERSION = "7.17.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vonage
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.16.1
4
+ version: 7.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vonage
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-10 00:00:00.000000000 Z
11
+ date: 2023-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: vonage-jwt