instance method
transmit_subscription_rejection
Ruby on Rails 5.1.7
Since v5.0.7.2 Private — implementation detail, not part of the public APISignature
transmit_subscription_rejection()
No documentation comment.
Source
# File actioncable/lib/action_cable/channel/base.rb, line 292
def transmit_subscription_rejection
logger.info "#{self.class.name} is transmitting the subscription rejection"
ActiveSupport::Notifications.instrument("transmit_subscription_rejection.action_cable", channel_class: self.class.name) do
connection.transmit identifier: @identifier, type: ActionCable::INTERNAL[:message_types][:rejection]
end
end
Defined in actioncable/lib/action_cable/channel/base.rb line 292
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Channel::Base