Sha256: 24951b9882af5d6dd1f49d45dd329838493b12752c83e5e5f4caa446b9d63938
Contents?: true
Size: 542 Bytes
Versions: 11
Compression:
Stored size: 542 Bytes
Contents
# frozen_string_literal: true module Trailblazer class Finder module Activities class ProcessFilters < Trailblazer::Activity::Railway def set_filter_handlers(ctx, **) return true unless ctx[:process] ctx[:process].each do |key, value| next if ctx[:process][key][:filter].nil? ctx[:process][key][:handler] = Utils::Extra.apply_handler(value[:filter] ? value[:filter][:handler] : "none") end end step :set_filter_handlers end end end end
Version data entries
11 entries across 11 versions & 1 rubygems