Class: ROM::EventStore::Commands::Create

Inherits:
Commands::Create
  • Object
show all
Defined in:
lib/rom/event_store/commands.rb

Instance Method Summary collapse

Instance Method Details

#execute(*events) ⇒ Object



7
8
9
# File 'lib/rom/event_store/commands.rb', line 7

def execute(*events)
  relation.append(events)
end