Exception: Pay::InvalidPaymentMethod

Inherits:
PaymentError 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

#message ⇒ Object



25
26
27
# File 'lib/pay/errors.rb', line 25

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