Module CreditCardChecks
In: lib/ruby-paypal/credit_card_checks.rb

Performs a series of credit card number checks.

Methods

Public Instance methods

Perform checks on credit card numbers with reference to the length of the credit card number and the type of credit card. Refer to en.wikipedia.org/wiki/Credit_card_number

Perform Luhn check on a credit card number. Refer to en.wikipedia.org/wiki/Luhn_algorithm

[Validate]