Class: ExportChannel

Inherits:
ApplicationCable::Channel
  • Object
show all
Defined in:
app/channels/export_channel.rb

Overview

ExportChannel

Instance Method Summary collapse

Instance Method Details

#subscribedObject



5
6
7
# File 'app/channels/export_channel.rb', line 5

def subscribed
  stream_from "export_channel"
end

#unsubscribedObject



9
10
11
# File 'app/channels/export_channel.rb', line 9

def unsubscribed
  # Any cleanup needed when channel is unsubscribed
end