Class: ROM::EventStore::Commands::Create
- Inherits:
-
Commands::Create
- Object
- Commands::Create
- ROM::EventStore::Commands::Create
- 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 |