class Aggregates::CommandFilter

Applies filters to commands to decouple filtering logic from the CommandProcessor.

Public Instance Methods

allow?(execution) click to toggle source
# File lib/aggregates/command_filter.rb, line 10
def allow?(execution)
  process(execution).all?
end