class RailsBand::ActionCable::Event::Broadcast

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

def broadcasting

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

def coder

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

def message

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