class SandthornSequelProjection::EventStore
Public Class Methods
new(name = :default)
click to toggle source
# File lib/sandthorn_sequel_projection/event_store.rb, line 3 def initialize(name = :default) @name = name || :default end
Public Instance Methods
get_events(*args)
click to toggle source
# File lib/sandthorn_sequel_projection/event_store.rb, line 7 def get_events(*args) keywords = args.pop || {} SandthornSequelProjection.configuration.event_stores[@name].get_events(keywords) end