Sha256: c8b5e51c9fdaa4568d321e9716a40ce6707a4e6d040b72fd3a5ec0b0b3a79b00

Contents?: true

Size: 228 Bytes

Versions: 3

Compression:

Stored size: 228 Bytes

Contents

require 'rom/commands/create'

module ROM
  module EventStore
    module Commands
      class Append < ROM::Commands::Create
        def execute(*events)
          relation.append(events)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rom-event_store-0.0.6 lib/rom/event_store/commands.rb
rom-event_store-0.0.5 lib/rom/event_store/commands.rb
rom-event_store-0.0.4 lib/rom/event_store/commands.rb