Welcome to RenavamValidator! This gem is a simple number validator for the Brazilian vehicle document Renavam.
Add this line to your application's Gemfile:
gem 'renavam_validator'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install renavam_validator
It's very simple ;)
Just add the following code using your renavam number and the result will be true
or false
Renavam.valid?(number)
- Fork it
- Make your implementations
- Send me a pull request
Thank you!
The gem is available as open source under the terms of the MIT License.