class Post
Public Class Methods
Source
# File lib/sequent/generator/template_project/lib/post/post.rb, line 4 def initialize(command) super(command.aggregate_id) apply PostAdded apply PostAuthorChanged, author: command.author apply PostTitleChanged, title: command.title apply PostContentChanged, content: command.content end
Calls superclass method
Sequent::Core::AggregateRoot::new