Exception: Transbank::Webpay::Oneclick::Errors::MallDeferredTransactionCaptureError
- Inherits:
-
OneclickError
- Object
- StandardError
- OneclickError
- Transbank::Webpay::Oneclick::Errors::MallDeferredTransactionCaptureError
- Defined in:
- lib/transbank/sdk/oneclick/mall_deferred/errors/mall_deferred_transaction_capture_error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message, code) ⇒ MallDeferredTransactionCaptureError
constructor
A new instance of MallDeferredTransactionCaptureError.
Constructor Details
#initialize(message, code) ⇒ MallDeferredTransactionCaptureError
Returns a new instance of MallDeferredTransactionCaptureError.
7 8 9 10 11 |
# File 'lib/transbank/sdk/oneclick/mall_deferred/errors/mall_deferred_transaction_capture_error.rb', line 7 def initialize(, code) @code = code @message = super(, code) end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
6 7 8 |
# File 'lib/transbank/sdk/oneclick/mall_deferred/errors/mall_deferred_transaction_capture_error.rb', line 6 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
6 7 8 |
# File 'lib/transbank/sdk/oneclick/mall_deferred/errors/mall_deferred_transaction_capture_error.rb', line 6 def @message end |