yob / abn

Small library for validating Australian Business Numbers

This URL has Read+Write access

bjeanes (author)
Wed Aug 13 19:15:43 -0700 2008
commit  3a4a64fd4d5df20827aa5786183044641947fda4
tree    8421d25bc1150359cf0963f4d5b97a0c70a8c2ea
parent  4f4d97f2eb9b7a27861ed15a7906dc173f0ff128 parent  445958910da25812e83191e665d2c71f62c784a7
abn /
name age message
file CHANGELOG Loading commit data...
file MIT-LICENSE Mon Jul 28 01:24:51 -0700 2008 initial commit [yob]
file README.rdoc
file Rakefile Tue Aug 12 18:44:46 -0700 2008 update a few files to reference the fact this g... [yob]
file TODO Mon Aug 11 23:26:05 -0700 2008 added TODO for support for business.gov.au API [bjeanes]
file abn.gemspec
directory lib/
directory spec/
README.rdoc

A small class for validating Australian Business Numbers (ABN)

Installation

  gem install abn

Usage

  require 'abn'

  ABN.new("12042168743").valid?
  => true

  ABN.valid_abn?("12042168743")
  => true

  ABN.valid_abn?("12042168744")
  => false

Further Reading