rokumatsumoto/boyutluseyler

View on GitHub
app/channels/download_channel.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

class DownloadChannel < ApplicationCable::Channel
  def subscribed
    stream_from "download_channel_#{params[:id]}"
  end

  def unsubscribed
    # Any cleanup needed when channel is unsubscribed
  end
end