Sha256: 60a0aa6987da96dadbc3388edd643e7d45c8fa8815bc6593eea67bba3c507625
Contents?: true
Size: 716 Bytes
Versions: 2
Compression:
Stored size: 716 Bytes
Contents
module Euston module AggregateRootPrivateMethodNames extend ActiveSupport::Concern module ClassMethods def applies_method_name event, version "__apply__#{event}__v#{version}__" end def consumes_method_name command, version "__consume__#{command}__v#{version}__" end def id_from_event_method_name type, version "__id_from_event_#{type}__v#{version}__" end def load_snapshot_method_name version "__load_snapshot__v#{version}__" end def take_snapshot_method_name version "__take_snapshot__v#{version}__" end def take_snapshot_regexp /__take_snapshot__v(\d+)__/ end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
euston-1.1.0 | lib/euston/aggregate_root_private_method_names.rb |
euston-1.1.0-java | lib/euston/aggregate_root_private_method_names.rb |