Module: Sandthorn::AggregateRoot

Includes:
Base, Marshal
Defined in:
lib/sandthorn/aggregate_root.rb,
lib/sandthorn/aggregate_root_base.rb,
lib/sandthorn/aggregate_root_marshal.rb

Defined Under Namespace

Modules: Base, Marshal

Instance Attribute Summary

Attributes included from Base

#aggregate_current_event_version, #aggregate_events, #aggregate_id, #aggregate_originating_version, #aggregate_trace_information

Class Method Summary collapse

Methods included from Marshal

#aggregate_initialize, #get_delta, #set_instance_variables!

Methods included from Base

#==, #aggregate_base_initialize, #aggregate_trace, #commit, #default_attributes, #save, #unsaved_events?

Class Method Details

.included(base) ⇒ Object



9
10
11
# File 'lib/sandthorn/aggregate_root.rb', line 9

def self.included(base)
  base.extend(Base::ClassMethods)
end