Exception: Pay::InvalidPaymentMethod

Inherits:
PaymentError
  • Object
show all
Defined in:
lib/pay/errors.rb

Instance Attribute Summary

Attributes inherited from PaymentError

#payment

Instance Method Summary collapse

Methods inherited from PaymentError

#initialize

Constructor Details

This class inherits a constructor from Pay::PaymentError

Instance Method Details

#messageObject



21
22
23
# File 'lib/pay/errors.rb', line 21

def message
  I18n.t("pay.errors.invalid_payment")
end