Sha256: 4fa64784629742fdb07dbc000c3ed00ef2439d5e34e23edfecc7445ca430e5f7
Contents?: true
Size: 339 Bytes
Versions: 1
Compression:
Stored size: 339 Bytes
Contents
require 'http_event_store' require 'in_memory_es' module SandthornDriverEventStore class InMemoryEventStoreDriver def initialize @connection = HttpEventstore::Connection.new { |config| config.client = HttpEventstore::InMemoryEs.new("localhost", 2113, 20) } end def execute yield @connection end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sandthorn_driver_event_store-0.1.0 | spec/in_memory_event_store_driver.rb |