We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 990f1c2 commit 37654f6Copy full SHA for 37654f6
lib/vonage/verify2.rb
@@ -33,7 +33,7 @@ class Verify2 < Namespace
33
# @see https://developer.vonage.com/en/api/verify.v2#newRequest
34
#
35
def start_verification(brand:, workflow:, **opts)
36
- raise ArgumentError, ':workflow must be a String' unless brand.is_a?(String)
+ raise ArgumentError, ':brand must be a String' unless brand.is_a?(String)
37
raise ArgumentError, "Invalid 'brand' value #{brand}. Length must be between 1 and 16 characters." unless brand.length.between?(1, 16)
38
raise ArgumentError, ':workflow must be an Array' unless workflow.is_a?(Array)
39
raise ArgumentError, ':workflow must not be empty' if workflow.empty?
0 commit comments