init push - laying out the project

This commit is contained in:
Mike Sutton
2022-11-12 02:27:46 +01:00
commit 14e163a1a5
183 changed files with 20069 additions and 0 deletions

View File

@ -0,0 +1,4 @@
module ApplicationCable
class Channel < ActionCable::Channel::Base
end
end

View File

@ -0,0 +1,4 @@
module ApplicationCable
class Connection < ActionCable::Connection::Base
end
end

View File

@ -0,0 +1,9 @@
class ExchangeAccountChannel < ApplicationCable::Channel
def subscribed
stream_from "exchange_account:#{params[:id]}"
end
def unsubscribed
# Any cleanup needed when channel is unsubscribed
end
end