class RekeningValidator

Public Instance Methods

validate_each(record,attribute,value) click to toggle source
# File lib/elfproef_plan.rb, line 11
 def validate_each(record,attribute,value)
         record.errors.add(attribute, options[:message] || "ongeldig rekening nr", options) unless ElfproefPlan::ElfProef.new(value).validRekening
end