vonage 7.22.0 → 7.23.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: 56d2728bfe79b6d7361f68189aae31b7509fae3e97260fa413f2e99ccc72d14c
4
- data.tar.gz: ccca6115ec963b7e687e2c227ae31b026ec88c92ccc205fc39df46fe43827adf
3
+ metadata.gz: 36d57526fb0ed81a986a2125a5ed5ebdb3152160cc1666f263772aac023177b1
4
+ data.tar.gz: b71dc43bcf08ae0b7e5b5a1f788d918ed57d1037e31008e9bceb1bdd3ac16a2c
5
5
  SHA512:
6
- metadata.gz: 0fdeaffdc2859873b73370cd32db48c540e38e88a637ed096f830694be07c221cbd663185631266d52b41c281051946f932aaf1afda7589a5a76b634f26ad37e
7
- data.tar.gz: 0a75edbe4f910371aa672a554e2933f3514cd1b93c6557f7fd2f47c4c4f9465170d6c5c309ad99f676448dfe141261e4b0ce0879517f47ee1c99a49cce6d1cfd
6
+ metadata.gz: bbfaf5dab47afb432987729162f803cc505f3359eb5fed530104e7c6877bd3e4ffadd0415ce2281004d6a160a6a26b0e18126edf16c204ec12661dd2448c8766
7
+ data.tar.gz: a1d2607e0a78ccad0e6239db088158a448d506fe93a18c838912e0fb53831729b4fe5d3b1472eb33d1fec67b166e3967adb76e95a7f7857b7945b30f6426e73f
@@ -7,10 +7,10 @@ module Vonage
7
7
 
8
8
  attr_reader :channel, :to, :from
9
9
 
10
- def initialize(to:, from: nil)
10
+ def initialize(to:, from:)
11
11
  self.channel = 'whatsapp'
12
12
  self.to = to
13
- self.from = from unless from.nil?
13
+ self.from = from
14
14
  end
15
15
 
16
16
  def to=(to)
@@ -66,6 +66,10 @@ module Vonage
66
66
  request('/v2/verify/' + request_id, type: Delete)
67
67
  end
68
68
 
69
+ def next_workflow(request_id:)
70
+ request('/v2/verify/' + request_id + '/next-workflow', type: Post)
71
+ end
72
+
69
73
  # Instantiate a new Vonage::Verify2::StartVerificationOptions object
70
74
  #
71
75
  # @param [optional, Hash] opts the options for the verification request.
@@ -1,5 +1,5 @@
1
1
  # typed: strong
2
2
 
3
3
  module Vonage
4
- VERSION = '7.22.0'
4
+ VERSION = '7.23.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.22.0
4
+ version: 7.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vonage
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-13 00:00:00.000000000 Z
11
+ date: 2024-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: vonage-jwt