Exception: SolidusSixSaferpay::InvalidSaferpayPayment

Inherits:
StandardError
  • Object
show all
Defined in:
lib/solidus_six_saferpay/invalid_saferpay_payment.rb

Instance Method Summary collapse

Constructor Details

#initialize(message: I18n.t(:general_error, scope: [:solidus_six_saferpay, :errors]), details: "") ⇒ InvalidSaferpayPayment

Returns a new instance of InvalidSaferpayPayment.



3
4
5
# File 'lib/solidus_six_saferpay/invalid_saferpay_payment.rb', line 3

def initialize(message: I18n.t(:general_error, scope: [:solidus_six_saferpay, :errors]), details: "")
  super("#{message}: #{details}".strip)
end

Instance Method Details

#full_messageObject



7
8
9
# File 'lib/solidus_six_saferpay/invalid_saferpay_payment.rb', line 7

def full_message
  message
end