Skip to content
CNPJ validation for ActiveModel
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
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

Something went wrong with that request. Please try again.