module ActiveModel::Validations::HelperMethods
Public Instance Methods
validates_luhn_algorithm_of(*attr_names)
click to toggle source
# File lib/luhn_algorithm/validator.rb, line 14 def validates_luhn_algorithm_of(*attr_names) validates_with LuhnAlgorithmValidator, _merge_attributes(attr_names) end