def options=(options)
      if options
        options.each_pair do |option, value|
          Validators::Option.validate(option)
          send("#{option}=", value)
        end
      end
    end
def options=(options)
      if options
        options.each_pair do |option, value|
          Validators::Option.validate(option)
          send("#{option}=", value)
        end
      end
    end
Set the configuration options. Will validate each one individually.

 @example Set the options.
   config.options = { raise_not_found_error: true }

 @param [ Hash ] options The configuration options.

 @since 3.0.0