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
- Host: GitHub
- URL: https://github.com/kizza/credit-card-validator
- Owner: kizza
- Created: 2015-10-22T23:16:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-27T01:09:06.000Z (over 9 years ago)
- Last Synced: 2025-02-17T04:41:26.319Z (4 months ago)
- Language: Ruby
- Size: 141 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```