module Eco module API class MicroCases #self.define("strict_search") do |session, options| # @param options [Hash] the options def strict_search(options) strict_config = session.config.people.strict_search? strict_option = !options[:search]&.key?(:strict) || options.dig(:search, :strict) strict_config && strict_option end end end end