Exception: Transbank::Webpay::WebpayPlus::Errors::TransactionRefundError

Inherits:
Errors::WebpayError show all
Defined in:
lib/transbank/sdk/webpay/webpay_plus/errors/transaction_refund_error.rb

Instance Attribute Summary collapse

Attributes inherited from Errors::WebpayError

#message

Instance Method Summary collapse

Constructor Details

#initialize(message, code) ⇒ TransactionRefundError

Returns a new instance of TransactionRefundError.



7
8
9
10
# File 'lib/transbank/sdk/webpay/webpay_plus/errors/transaction_refund_error.rb', line 7

def initialize(message, code)
  @code = code
  super(message, code)
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



6
7
8
# File 'lib/transbank/sdk/webpay/webpay_plus/errors/transaction_refund_error.rb', line 6

def code
  @code
end