Class: DpStmMap::TransactionMessage
- Inherits:
-
JsonMessage
- Object
- JsonMessage
- DpStmMap::TransactionMessage
- Defined in:
- lib/dp_stm_map/Message.rb
Instance Attribute Summary collapse
-
#delete_content ⇒ Object
Returns the value of attribute delete_content.
-
#new_content ⇒ Object
Returns the value of attribute new_content.
-
#transaction_sequence ⇒ Object
Returns the value of attribute transaction_sequence.
-
#transitions ⇒ Object
Returns the value of attribute transitions.
Instance Method Summary collapse
-
#initialize(transaction_sequence = nil, transitions = nil, new_content = nil, delete_content = nil) ⇒ TransactionMessage
constructor
A new instance of TransactionMessage.
Methods inherited from JsonMessage
class_from_string, deserialize, #from_hash!, #serialize
Constructor Details
#initialize(transaction_sequence = nil, transitions = nil, new_content = nil, delete_content = nil) ⇒ TransactionMessage
Returns a new instance of TransactionMessage.
112 113 114 115 116 117 |
# File 'lib/dp_stm_map/Message.rb', line 112 def initialize transaction_sequence=nil, transitions=nil, new_content=nil, delete_content=nil @transaction_sequence=transaction_sequence @transitions=transitions @new_content=new_content @delete_content=delete_content end |
Instance Attribute Details
#delete_content ⇒ Object
Returns the value of attribute delete_content.
122 123 124 |
# File 'lib/dp_stm_map/Message.rb', line 122 def delete_content @delete_content end |
#new_content ⇒ Object
Returns the value of attribute new_content.
121 122 123 |
# File 'lib/dp_stm_map/Message.rb', line 121 def new_content @new_content end |
#transaction_sequence ⇒ Object
Returns the value of attribute transaction_sequence.
119 120 121 |
# File 'lib/dp_stm_map/Message.rb', line 119 def transaction_sequence @transaction_sequence end |
#transitions ⇒ Object
Returns the value of attribute transitions.
120 121 122 |
# File 'lib/dp_stm_map/Message.rb', line 120 def transitions @transitions end |