Skip to content

Commit 37654f6

Browse files
committed
Fixing typo
1 parent 990f1c2 commit 37654f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vonage/verify2.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Verify2 < Namespace
3333
# @see https://developer.vonage.com/en/api/verify.v2#newRequest
3434
#
3535
def start_verification(brand:, workflow:, **opts)
36-
raise ArgumentError, ':workflow must be a String' unless brand.is_a?(String)
36+
raise ArgumentError, ':brand must be a String' unless brand.is_a?(String)
3737
raise ArgumentError, "Invalid 'brand' value #{brand}. Length must be between 1 and 16 characters." unless brand.length.between?(1, 16)
3838
raise ArgumentError, ':workflow must be an Array' unless workflow.is_a?(Array)
3939
raise ArgumentError, ':workflow must not be empty' if workflow.empty?

0 commit comments

Comments
 (0)