class RailsBand::ActionCable::Event::Transmit

A wrapper for the event that is passed to ‘transmit.action_cable`.

def channel_class

def channel_class
  @channel_class ||= @event.payload.fetch(:channel_class)
end

def data

def data
  @data ||= @event.payload.fetch(:data)
end

def via

def via
  @via ||= @event.payload.fetch(:via)
end