Exception: Transbank::TransaccionCompleta::Errors::TransactionCreateError
- Inherits:
-
TransaccionCompletaError
- Object
- StandardError
- Errors::TransbankError
- TransaccionCompletaError
- Transbank::TransaccionCompleta::Errors::TransactionCreateError
- Defined in:
- lib/transbank/sdk/transaccion_completa/errors/transaction_create_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 = nil) ⇒ TransactionCreateError
constructor
A new instance of TransactionCreateError.
Constructor Details
#initialize(message, code = nil) ⇒ TransactionCreateError
Returns a new instance of TransactionCreateError.
6 7 8 9 10 |
# File 'lib/transbank/sdk/transaccion_completa/errors/transaction_create_error.rb', line 6 def initialize(, code = nil) self. = self.code = code super() end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
5 6 7 |
# File 'lib/transbank/sdk/transaccion_completa/errors/transaction_create_error.rb', line 5 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
5 6 7 |
# File 'lib/transbank/sdk/transaccion_completa/errors/transaction_create_error.rb', line 5 def end |