ValidateNzBankAcc
An implementation of the process described on page 15 of http://www.ird.govt.nz/resources/a/c/ac60890040b57d0e9bd4df41f9f3ce1d/rwt-nrwt-spec-2010-v3.pdf
Installation
Add this line to your application's Gemfile:
gem 'validate_nz_bank_acc'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install validate_nz_bank_acc
Usage
ValidateNzBankAcc.new(bank_id, branch_id, account_number, suffix).valid?
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request