CNPJ validation for ActiveModel
Ruby
Latest commit c2df1ad Oct 17, 2014 @sobrinho Bump version
Failed to load latest commit information.
lib Added default error message Oct 17, 2014
test
.gitignore
Gemfile
MIT-LICENSE
README.markdown
Rakefile
cnpj_validator.gemspec

README.markdown

cnpj_validator

CNPJ validation for ActiveModel

Installation

gem "cnpj_validator"

Usage

class Company < ActiveRecord::Base
  validates :cnpj, :cnpj => true
end

License

Copyright (c) 2009-2012 nohup brasil, released under the MIT license