/validator

Ruby library and sample app to validate credit card numbers

Primary LanguageRubyMIT LicenseMIT

Credit Card Validator Build Status

Basic Ruby library and sample command line app that for validating credit card numbers.

Validation includes two steps:

  • Luhn algorithm check
  • Check if card number matches a known credit card format

License

See LICENSE file.