Skip to content

This is a simple gem that can help in the Renavam number validation.

License

Notifications You must be signed in to change notification settings

davidsilveira/renavam_validator

Repository files navigation

RenavamValidator

Maintainability Test Coverage Build Status

Welcome to RenavamValidator! This gem is a simple number validator for the Brazilian vehicle document Renavam.

Installation

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

Usage

It's very simple ;) Just add the following code using your renavam number and the result will be true or false

Renavam.valid?(number)

Contributing

  • Fork it
  • Make your implementations
  • Send me a pull request

Thank you!

License

The gem is available as open source under the terms of the MIT License.

About

This is a simple gem that can help in the Renavam number validation.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published