class ApplicationCable::ScopedChannel
def initialize channel, subject
def initialize channel, subject @channel = channel @subject = subject end
def store(store_id)
def store(store_id) Store.new(@subject, @channel, store_id) end
def initialize channel, subject @channel = channel @subject = subject end
def store(store_id) Store.new(@subject, @channel, store_id) end