Class: EventSourcery::EventStore::EventSource
- Inherits:
-
Object
- Object
- EventSourcery::EventStore::EventSource
- Extended by:
- Forwardable
- Defined in:
- lib/event_sourcery/event_store/event_source.rb
Overview
Delegates event retrieval operations to the underlying event store.
Instance Method Summary collapse
-
#initialize(event_store) ⇒ EventSource
constructor
A new instance of EventSource.
Constructor Details
#initialize(event_store) ⇒ EventSource
Returns a new instance of EventSource.
7 8 9 |
# File 'lib/event_sourcery/event_store/event_source.rb', line 7 def initialize(event_store) @event_store = event_store end |