Ruby gem for looking up and verifying Norwegian postal codes
Ruby
Pull request Compare This branch is 1 commit behind kord-as:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
README.rdoc
Rakefile
postnummer_norge.gemspec

README.rdoc

PostnummerNorge

Ruby gem for looking up Norwegian postal codes.

Usage

include PostnummerNorge

PostalCode.exists?('0662')                    # => true
PostalCode.find('0663').name                  # => 'OSLO'
PostalCode.find_by_name('HUNDVÅG').first.code # => '4085'