Exception: Reji::PaymentFailureError

Inherits:
IncompletePaymentError show all
Defined in:
lib/reji/errors.rb

Instance Attribute Summary

Attributes inherited from IncompletePaymentError

#payment

Class Method Summary collapse

Methods inherited from IncompletePaymentError

#initialize

Constructor Details

This class inherits a constructor from Reji::IncompletePaymentError

Class Method Details

.invalid_payment_method(payment) ⇒ Object



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

def self.invalid_payment_method(payment)
  new(payment, 'The payment attempt failed because of an invalid payment method.')
end