Skip to content

Validates a NZ bank account according to NZ banking number validation rules

License

Notifications You must be signed in to change notification settings

eadz/ValidateNzBankAcc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ValidateNzBankAcc

An implementation of the process described on page 15 of an IRD 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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

History

This was originaly developed my myself + others at Localist NZ and released under the MIT licence.

TODO

Update specs from 2012 era syntax

About

Validates a NZ bank account according to NZ banking number validation rules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages