Method: ActiveMerchant::Billing::CreditCard#validate
- Defined in:
- lib/active_merchant/billing/credit_card.rb
#validate ⇒ Object
102 103 104 105 106 107 108 109 110 111 112 |
# File 'lib/active_merchant/billing/credit_card.rb', line 102 def validate validate_essential_attributes # Bogus card is pretty much for testing purposes. Lets just skip these extra tests if its used return if type == 'bogus' validate_card_type validate_card_number validate_verification_value validate_switch_or_solo_attributes end |