Method: Sequent::Core::Command#initialize
- Defined in:
- lib/sequent/core/command.rb
#initialize(args = {}) ⇒ Command
Returns a new instance of Command.
90 91 92 93 94 |
# File 'lib/sequent/core/command.rb', line 90 def initialize(args = {}) fail ArgumentError, 'Missing aggregate_id' if args[:aggregate_id].nil? super end |