Module: RailsSimpleEventSourcing::AggregateConfiguration
- Extended by:
- ActiveSupport::Concern
- Included in:
- Event
- Defined in:
- app/models/concerns/rails_simple_event_sourcing/aggregate_configuration.rb
Instance Method Summary collapse
Instance Method Details
#aggregate_class ⇒ Object
15 16 17 |
# File 'app/models/concerns/rails_simple_event_sourcing/aggregate_configuration.rb', line 15 def aggregate_class self.class.aggregate_class end |
#aggregate_defined? ⇒ Boolean
19 20 21 |
# File 'app/models/concerns/rails_simple_event_sourcing/aggregate_configuration.rb', line 19 def aggregate_defined? aggregate_class.present? end |