Class: DpStmMap::ClientTransactionFailedMessage

Inherits:
ClientTransactionOutcomeMessage show all
Defined in:
lib/dp_stm_map/Message.rb

Instance Attribute Summary collapse

Attributes inherited from ClientTransactionOutcomeMessage

#transaction_id

Instance Method Summary collapse

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

#reasonObject

Returns the value of attribute reason.



96
97
98
# File 'lib/dp_stm_map/Message.rb', line 96

def reason
  @reason
end