Class: RubyEventStore::LinkByCausationId

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) ⇒ LinkByCausationId

Returns a new instance of LinkByCausationId.


34
35
36
37
38
39
40
# File 'lib/ruby_event_store/link_by_metadata.rb', line 34

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