Sha256: 33a553222cd198fe7db70b159f0232be2ef4d769531ca66434742604ad35c368
Contents?: true
Size: 488 Bytes
Versions: 1
Compression:
Stored size: 488 Bytes
Contents
require 'http_eventstore' module SandthornDriverEventStore class EventStoreDriver def initialize host:, port:, page_size: @connection = HttpEventstore::Connection.new do |config| #default value is '127.0.0.1' config.endpoint = host #default value is 2113 config.port = port #default value is 20 entries per page config.page_size = page_size end 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 | lib/sandthorn_driver_event_store/event_store_driver.rb |