Exception: Transbank::Webpay::WebpayPlus::Errors::TransactionCreateError
- Inherits:
-
Errors::WebpayError
- Object
- StandardError
- Errors::TransbankError
- Errors::WebpayError
- Transbank::Webpay::WebpayPlus::Errors::TransactionCreateError
- Defined in:
- lib/transbank/sdk/webpay/webpay_plus/errors/transaction_create_error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Attributes inherited from Errors::WebpayError
Instance Method Summary collapse
-
#initialize(message, code) ⇒ TransactionCreateError
constructor
A new instance of TransactionCreateError.
Constructor Details
#initialize(message, code) ⇒ TransactionCreateError
Returns a new instance of TransactionCreateError.
7 8 9 10 |
# File 'lib/transbank/sdk/webpay/webpay_plus/errors/transaction_create_error.rb', line 7 def initialize(, code) @code = code super(, code) end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
6 7 8 |
# File 'lib/transbank/sdk/webpay/webpay_plus/errors/transaction_create_error.rb', line 6 def code @code end |