mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
10 lines
223 B
Ruby
10 lines
223 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Raised when an an error occurred with the PayZen payment gateway
|
|
class PayzenError < PaymentGatewayError
|
|
def details
|
|
JSON.parse(message.gsub('=>', ':').gsub('nil', 'null'))
|
|
end
|
|
end
|
|
|