Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cibernox/spanish_ccc_validator
Simple validator for spanish bank account numbers
https://github.com/cibernox/spanish_ccc_validator
Last synced: about 1 month ago
JSON representation
Simple validator for spanish bank account numbers
- Host: GitHub
- URL: https://github.com/cibernox/spanish_ccc_validator
- Owner: cibernox
- Created: 2012-01-17T22:20:53.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2012-05-06T00:16:57.000Z (over 12 years ago)
- Last Synced: 2024-10-29T20:12:26.360Z (3 months ago)
- Language: Ruby
- Homepage:
- Size: 107 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
Awesome Lists containing this project
README
= Simple Spanish Account Number Validator
== SYNOPSIS
This gem provides a simple way to validate spanish bank account numbers.
== INSTALL
==== Directly:
gem install spanish_ccc_validator
==== With bundler:
In your Gemfile
gem "spanish_ccc_validator"
Then exec
bundle install== USAGE
It provides only a fancy method
validate_spanish_ccc :account_numberIt 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 (c) 2012 Miguel Camba