Sha256: c1ddccc019a12a0f486cc71947719591c5ea0768fc1cce0f5c5819741376b7fb

Contents?: true

Size: 464 Bytes

Versions: 14

Compression:

Stored size: 464 Bytes

Contents

module EventSourcery
  module EventStore
    class EventSource
      def initialize(event_store)
        @event_store = event_store
      end

      extend Forwardable
      def_delegators :event_store,
                     :get_next_from,
                     :latest_event_id,
                     :get_events_for_aggregate_id,
                     :each_by_range,
                     :subscribe

      private

      attr_reader :event_store
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
event_sourcery-1.0.0 lib/event_sourcery/event_store/event_source.rb
event_sourcery-0.24.0 lib/event_sourcery/event_store/event_source.rb
event_sourcery-0.23.1 lib/event_sourcery/event_store/event_source.rb
event_sourcery-0.23.0 lib/event_sourcery/event_store/event_source.rb
event_sourcery-0.22.0 lib/event_sourcery/event_store/event_source.rb
event_sourcery-0.21.0 lib/event_sourcery/event_store/event_source.rb
event_sourcery-0.20.0 lib/event_sourcery/event_store/event_source.rb
event_sourcery-0.19.0 lib/event_sourcery/event_store/event_source.rb
event_sourcery-0.18.0 lib/event_sourcery/event_store/event_source.rb
event_sourcery-0.17.0 lib/event_sourcery/event_store/event_source.rb
event_sourcery-0.16.1 lib/event_sourcery/event_store/event_source.rb
event_sourcery-0.15.0 lib/event_sourcery/event_store/event_source.rb
event_sourcery-0.14.0 lib/event_sourcery/event_store/event_source.rb
event_sourcery-0.13.0 lib/event_sourcery/event_store/event_source.rb