Class: Synapse::UnitOfWork::StorageListener Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/synapse/uow/storage_listener.rb

Overview

This class is abstract.

Represents a mechanism for a unit of work to commit an aggregate to an underlying store

Instance Method Summary collapse

Instance Method Details

#store(aggregate) ⇒ undefined

This method is abstract.

Commits the given aggregate to the underlying storage mechanism

Parameters:

  • aggregate (AggregateRoot)

Returns:

  • (undefined)


11
# File 'lib/synapse/uow/storage_listener.rb', line 11

def store(aggregate); end