An open API service indexing awesome lists of open source software.

https://github.com/kizza/credit-card-validator

Credit card validation in ruby
https://github.com/kizza/credit-card-validator

Last synced: about 1 month ago
JSON representation

Credit card validation in ruby

Awesome Lists containing this project

README

        

# Credit Card Validator

Execute validator by passing file to "bin/validate_card_numbers.rb" eg.
```
$ bin/validate_card_numbers.rb example/numbers.txt or
$ bin/validate_card_numbers.rb < example/numbers.txt
```
Execute tests with "rake" within root directory
```
$ rake
```