60
61
62
63
64
65
66
|
# File 'lib/pheromone/publishable.rb', line 60
def dispatch_messages(message_options:, current_event:)
return unless Pheromone.enabled?
message_options.each do |options|
next unless check_conditions(options, current_event)
send_message(options, current_event)
end
end
|