Class: DpStmMap::ClientTransactionMessage
- Inherits:
-
JsonMessage
- Object
- JsonMessage
- DpStmMap::ClientTransactionMessage
- Defined in:
- lib/dp_stm_map/Message.rb
Instance Attribute Summary collapse
-
#new_content ⇒ Object
Returns the value of attribute new_content.
-
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
-
#transitions ⇒ Object
Returns the value of attribute transitions.
Instance Method Summary collapse
-
#initialize(transaction_id = nil, transitions = nil, new_content = nil) ⇒ ClientTransactionMessage
constructor
A new instance of ClientTransactionMessage.
Methods inherited from JsonMessage
class_from_string, deserialize, #from_hash!, #serialize
Constructor Details
#initialize(transaction_id = nil, transitions = nil, new_content = nil) ⇒ ClientTransactionMessage
Returns a new instance of ClientTransactionMessage.
100 101 102 103 104 |
# File 'lib/dp_stm_map/Message.rb', line 100 def initialize transaction_id=nil, transitions=nil, new_content=nil @transaction_id=transaction_id @transitions=transitions @new_content=new_content end |
Instance Attribute Details
#new_content ⇒ Object
Returns the value of attribute new_content.
108 109 110 |
# File 'lib/dp_stm_map/Message.rb', line 108 def new_content @new_content end |
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
106 107 108 |
# File 'lib/dp_stm_map/Message.rb', line 106 def transaction_id @transaction_id end |
#transitions ⇒ Object
Returns the value of attribute transitions.
107 108 109 |
# File 'lib/dp_stm_map/Message.rb', line 107 def transitions @transitions end |