Sha256: eb531f943f0adfe760319e600d6d989e560d1fb91aafe83d06139cdc581c8cb3

Contents?: true

Size: 377 Bytes

Versions: 3

Compression:

Stored size: 377 Bytes

Contents

# frozen_string_literal: true

module ActiveEventStore
  class Config
    attr_writer :repository, :job_queue_name, :store_options

    def repository
      @repository ||= RailsEventStoreActiveRecord::EventRepository.new
    end

    def job_queue_name
      @job_queue_name ||= :events_subscribers
    end

    def store_options
      @store_options ||= {}
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_event_store-0.2.1 lib/active_event_store/config.rb
active_event_store-0.2.0 lib/active_event_store/config.rb
active_event_store-0.1.0 lib/active_event_store/config.rb