Exception: Transbank::Webpay::Oneclick::Errors::OneclickError
- Inherits:
-
StandardError
- Object
- StandardError
- Transbank::Webpay::Oneclick::Errors::OneclickError
- Defined in:
- lib/transbank/sdk/oneclick/errors/oneclick_error.rb
Direct Known Subclasses
MallDeferredTransactionCaptureError, MallInscriptionDeleteError, MallInscriptionFinishError, MallInscriptionStartError, MallTransactionAuthorizeError, MallTransactionRefundError, MallTransactionStatusError
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) ⇒ OneclickError
constructor
A new instance of OneclickError.
Constructor Details
#initialize(message, code) ⇒ OneclickError
Returns a new instance of OneclickError.
7 8 9 10 11 |
# File 'lib/transbank/sdk/oneclick/errors/oneclick_error.rb', line 7 def initialize(, code) @code = code @message = super() end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
6 7 8 |
# File 'lib/transbank/sdk/oneclick/errors/oneclick_error.rb', line 6 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
6 7 8 |
# File 'lib/transbank/sdk/oneclick/errors/oneclick_error.rb', line 6 def @message end |