Exception: SpookAndPay::CreditCard::InvalidCardError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/spook_and_pay/credit_card.rb

Overview

An error raised when trying to perform an action on a card that has invalid details or has expired.

Instance Method Summary collapse

Instance Method Details

#to_sObject



12
13
14
# File 'lib/spook_and_pay/credit_card.rb', line 12

def to_s
  "The action cannot be performed, this card is invalid or expired."
end