class Sandthorn::Configuration
Public Class Methods
new() { |self| ... }
click to toggle source
# File lib/sandthorn.rb, line 78 def initialize yield(self) if block_given? end
Public Instance Methods
event_store=(event_store)
click to toggle source
# File lib/sandthorn.rb, line 86 def event_store=(event_store) @event_stores = EventStores.new(event_store) end
Also aliased as: event_stores=
event_stores()
click to toggle source
# File lib/sandthorn.rb, line 82 def event_stores @event_stores ||= EventStores.new end
map_types=(data)
click to toggle source
# File lib/sandthorn.rb, line 90 def map_types= data @event_stores.map_types data end
snapshot_store()
click to toggle source
# File lib/sandthorn.rb, line 94 def snapshot_store @snapshot_store ||= ApplicationSnapshotStore.new end
snapshot_store=(snapshot_store)
click to toggle source
# File lib/sandthorn.rb, line 98 def snapshot_store=(snapshot_store) @snapshot_store = snapshot_store end
snapshot_types=(aggregate_types)
click to toggle source
# File lib/sandthorn.rb, line 102 def snapshot_types= aggregate_types aggregate_types.each do |aggregate_type| aggregate_type.snapshot(true) end end