Skip to content
Small library for validating Australian Business Numbers
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
MIT-LICENSE
README.rdoc
Rakefile
abn.gemspec

README.rdoc

A small class for validating Australian Business Numbers (ABN)

Installation

gem install yob-abn --source http://gems.github.com/

Usage

require 'abn'

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

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

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

Further Reading

Something went wrong with that request. Please try again.