Module: Olyx::Guardrails::Redaction::ContentResult
- Defined in:
- lib/olyx/guardrails/redaction/content_result.rb
Overview
Builds the stable internal redaction content contract.
Class Method Summary collapse
Class Method Details
.call(source, text:, secret_scan:, policy_redaction:) ⇒ Object
10 11 12 13 |
# File 'lib/olyx/guardrails/redaction/content_result.rb', line 10 def call(source, text:, secret_scan:, policy_redaction:) findings = secret_scan[:findings] detection(source, secret_scan, policy_redaction).merge(content(text, findings)) end |