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.



19
20
21
# File 'lib/ruby_event_store/link_by_metadata.rb', line 19

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