Class: Grumlin::DummyTransaction
- Inherits:
-
Transaction
- Object
- Transaction
- Grumlin::DummyTransaction
- Defined in:
- lib/grumlin/dummy_transaction.rb
Constant Summary
Constants inherited from Transaction
Transaction::COMMIT, Transaction::ROLLBACK
Instance Attribute Summary collapse
-
#uuid ⇒ Object
readonly
Returns the value of attribute uuid.
Attributes inherited from Transaction
Instance Method Summary collapse
-
#initialize(traversal_start_class, middlewares:, pool:) ⇒ DummyTransaction
constructor
A new instance of DummyTransaction.
Methods inherited from Transaction
Constructor Details
#initialize(traversal_start_class, middlewares:, pool:) ⇒ DummyTransaction
Returns a new instance of DummyTransaction.
6 7 8 9 10 11 12 13 |
# File 'lib/grumlin/dummy_transaction.rb', line 6 def initialize(traversal_start_class, middlewares:, pool:) super @session_id = nil Console.info(self) do "#{Grumlin.config.provider} does not support transactions. commit and rollback are ignored, data will be saved" end end |
Instance Attribute Details
#uuid ⇒ Object (readonly)
Returns the value of attribute uuid.
4 5 6 |
# File 'lib/grumlin/dummy_transaction.rb', line 4 def uuid @uuid end |