Sha256: bb23241e514726d0796ec54809a20db83d87edebd529afe7c9e70ac1f730bac1
Contents?: true
Size: 332 Bytes
Versions: 21
Compression:
Stored size: 332 Bytes
Contents
module Euston module CommandBus def self.publish headers, command, logger = Euston::NullLogger.instance aggregate = AggregateCommandMap.deliver_command headers, command, logger raise "No aggregate found to handle command: #{headers} #{command}" if aggregate.nil? Repository.save aggregate end end end
Version data entries
21 entries across 21 versions & 1 rubygems