Class: RailsBand::ActionCable::Event::TransmitSubscriptionRejection

Inherits:
BaseEvent
  • Object
show all
Defined in:
lib/rails_band/action_cable/event/transmit_subscription_rejection.rb

Overview

A wrapper for the event that is passed to transmit_subscription_rejection.action_cable.

Instance Attribute Summary

Attributes inherited from BaseEvent

#allocations, #cpu_time, #duration, #end, #idle_time, #name, #time, #transaction_id

Instance Method Summary collapse

Methods inherited from BaseEvent

#initialize, #slice, #to_h

Constructor Details

This class inherits a constructor from RailsBand::BaseEvent

Instance Method Details

#channel_class ⇒ Object



8
9
10
# File 'lib/rails_band/action_cable/event/transmit_subscription_rejection.rb', line 8

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