Module: Olyx::Guardrails::Rails::ActionCable

Includes:
Ingress
Defined in:
lib/olyx/guardrails/rails/action_cable.rb

Overview

Adds private, exception-driven helpers to Action Cable channels.

guardrails_check_cable! evaluates incoming content. guardrails_check_cable_output! evaluates completed outgoing content. Both accept metadata: and add the channel class name under :channel.