Skip to content

getdreams/personnummer-ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

personnummer Build Status

Validate personal identity numbers.

Installation

Add this to your Gemfile

gem 'personnummer', :git => 'https://github.com/personnummer/ruby.git'

Then run bundle install

Example

require 'personnummer'

puts Personnummer.valid?("8507099805")
# => True

See test/test_personnummer.rb for more examples.

License

MIT

About

Validate Swedish personal identity numbers

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Ruby 100.0%