Sha256: dca390becb43c272907a4d6db7dc4499c5d97f03eaf247573ddaf11ee0f1573a

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

require 'http_eventstore'
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.0.1 spec/in_memory_event_store_driver.rb