class SpookAndPay::CreditCard::InvalidCardError

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

Public Instance Methods

to_s() click to toggle source
# 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