Sha256: 67ccee81a30a5d463fa814856ea07978524f4c8d6fb8a0313122394ab9a47376

Contents?: true

Size: 290 Bytes

Versions: 1

Compression:

Stored size: 290 Bytes

Contents

module SandthornSequelProjection
  class EventStore
    def initialize(name = :default)
      @name = name || :default
    end

    def get_events(*args)
      keywords = args.pop || {}
      SandthornSequelProjection.configuration.event_stores[@name].get_events(keywords)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sandthorn_sequel_projection-0.1.0 lib/sandthorn_sequel_projection/event_store.rb