class OpenUI::Rails::Stream::Transports::ActionCable

Broadcasts envelope hashes over Action Cable.

The stream name is supplied by the host (the Gem does not invent a tenant-scoping scheme). Pair it with a channel that dispatches each received payload as an openui:envelope event on the page. See the “Transports” section of the README. Authorization for the subscription stays in the host’s channel.

cable: is the Action Cable server (or a test double that responds to broadcast), injectable so this can be exercised without a running Action Cable server.