class RailsBand::ActionCable::Event::PerformAction

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

def action

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

def channel_class

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

def data

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