We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25db0f4 commit 32bf313Copy full SHA for 32bf313
lib/minfraud/components/credit_card.rb
@@ -74,7 +74,7 @@ class CreditCard < Base
74
# @return [Boolean, nil]
75
attr_accessor :was_3d_secure_successful
76
77
- # The last digits of the credit card number.
+ # Get the last digits of the credit card number.
78
#
79
# @deprecated Use {::last_digits} instead.
80
@@ -83,6 +83,15 @@ def last_4_digits
83
@last_digits
84
end
85
86
+ # Set the last digits of the credit card number.
87
+ #
88
+ # @deprecated Use {::last_digits} instead.
89
90
+ # @return [String, nil]
91
+ def last_4_digits=(last4)
92
+ @last_digits = last4
93
+ end
94
+
95
# @param params [Hash] Hash of parameters. Each key/value should
96
# correspond to one of the available attributes.
97
def initialize(params = {})
0 commit comments