Sha256: 9db5ce100338881da4a3aab78906fc730d13a57640cd265b46a4777843c26c51
Contents?: true
Size: 291 Bytes
Versions: 9
Compression:
Stored size: 291 Bytes
Contents
# frozen_string_literal: true module CableReady class Stream < ActionCable::Channel::Base include CableReady::StreamIdentifier def subscribed locator = verified_stream_identifier(params[:identifier]) locator.present? ? stream_from(locator) : reject end end end
Version data entries
9 entries across 9 versions & 1 rubygems