Skip to content

cibernox/spanish_ccc_validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This gem provides a simple way to validate spanish bank account numbers.

gem install spanish_ccc_validator

In your Gemfile

gem "spanish_ccc_validator"

Then exec

bundle install

It provides only a fancy method

validate_spanish_ccc :account_number

It can be mixed with all options you’re used to

validate_spanish_ccc :origin_account_number, :destination_account_number,
  :message => "seems incorrect",
  :if => lambda { |sell| sell.payment_method == 'transfer' }

Copyright © 2012 Miguel Camba

About

Simple validator for spanish bank account numbers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages