Class: RubyEventStore::LinkByCorrelationId

Inherits:
LinkByMetadata show all
Defined in:
lib/ruby_event_store/link_by_metadata.rb

Instance Method Summary collapse

Methods inherited from LinkByMetadata

#call

Constructor Details

#initialize(event_store:, prefix: nil) ⇒ LinkByCorrelationId

Returns a new instance of LinkByCorrelationId.


24
25
26
27
28
29
30
# File 'lib/ruby_event_store/link_by_metadata.rb', line 24

def initialize(event_store:, prefix: nil)
  super(
    event_store: event_store,
    prefix:      prefix,
    key:         :correlation_id,
  )
end