Class: DpStmMap::ClientTransactionFailedMessage
- Inherits:
-
ClientTransactionOutcomeMessage
- Object
- JsonMessage
- ClientTransactionOutcomeMessage
- DpStmMap::ClientTransactionFailedMessage
- Defined in:
- lib/dp_stm_map/Message.rb
Instance Attribute Summary collapse
-
#reason ⇒ Object
Returns the value of attribute reason.
Attributes inherited from ClientTransactionOutcomeMessage
Instance Method Summary collapse
-
#initialize(transaction_id = nil, reason = nil) ⇒ ClientTransactionFailedMessage
constructor
A new instance of ClientTransactionFailedMessage.
Methods inherited from JsonMessage
class_from_string, deserialize, #from_hash!, #serialize
Constructor Details
#initialize(transaction_id = nil, reason = nil) ⇒ ClientTransactionFailedMessage
Returns a new instance of ClientTransactionFailedMessage.
91 92 93 94 |
# File 'lib/dp_stm_map/Message.rb', line 91 def initialize transaction_id=nil, reason=nil super transaction_id @reason=reason end |
Instance Attribute Details
#reason ⇒ Object
Returns the value of attribute reason.
96 97 98 |
# File 'lib/dp_stm_map/Message.rb', line 96 def reason @reason end |