Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

CNPJ validation for ActiveModel

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 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.