Skip to content

Commit 2968ec5

Browse files
committed
Fix description of last_digits constraints
1 parent 6870b71 commit 2968ec5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/minfraud/components/credit_card.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ class CreditCard < Base
1414
# @return [String, nil]
1515
attr_accessor :issuer_id_number
1616

17-
# The last digits of the credit card number. This is the last 4
18-
# digits if the issuer ID number is 6 digits, or the last 2 digits
19-
# if the issuer ID number is 8 digits.
17+
# The last two or four digits of the credit card number.
18+
#
19+
# @see https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en#schema--request--credit-card__last_digits
2020
#
2121
# @return [String, nil]
2222
attr_accessor :last_digits

0 commit comments

Comments
 (0)