Module: Eventus::AggregateRoot::InstanceMethods
- Defined in:
- lib/eventus/aggregate_root.rb
Instance Method Summary collapse
Instance Method Details
#save ⇒ Object
32 33 34 35 36 37 38 |
# File 'lib/eventus/aggregate_root.rb', line 32 def save version = @stream.version @stream.commit true rescue Eventus::ConcurrencyError => e on_concurrency_error(version, e) end |