ReferenceValidator
A gem to be used for the validation of product references.
Installation
Add this line to your application's Gemfile:
gem 'reference_validator'
And then execute:
$ bundle install
Usage
ReferenceValidator::ValidateEan.validate!(<ean>)
License
The gem is available as open source under the terms of the MIT License.