class RailsBand::ActionCable::Event::PerformAction

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

Public Instance Methods

action() click to toggle source
# File lib/rails_band/action_cable/event/perform_action.rb, line 12
def action
  @action ||= @event.payload.fetch(:action)
end
channel_class() click to toggle source
# File lib/rails_band/action_cable/event/perform_action.rb, line 8
def channel_class
  @channel_class ||= @event.payload.fetch(:channel_class)
end
data() click to toggle source
# File lib/rails_band/action_cable/event/perform_action.rb, line 16
def data
  @data ||= @event.payload.fetch(:data)
end