ValidatesCvr
Validates danish CVR numbers on your models.
Usage
Add to your model:
class Company < ApplicationRecord
validates :vat_number, cvr: true
endInstallation
Add this line to your application's Gemfile:
gem 'validates_cvr'And then execute:
$ bundleOr install it yourself as:
$ gem install validates_cvrContributing
Contribution directions go here.
License
The gem is available as open source under the terms of the MIT License.