Sha256: 7454b3aef87f502bba60b2e31ea2f83b2a89631b7d9a89d997371a669fde9b6e

Contents?: true

Size: 339 Bytes

Versions: 6

Compression:

Stored size: 339 Bytes

Contents

# frozen_string_literal: true

module RailsSpotlight
  module Channels
    class RequestCompletedChannel < ActionCable::Channel::Base
      def subscribed
        stream_from 'rails_spotlight_request_completed_channel'
      end

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails_spotlight-0.2.5 lib/rails_spotlight/channels/request_completed_channel.rb
rails_spotlight-0.2.4 lib/rails_spotlight/channels/request_completed_channel.rb
rails_spotlight-0.2.3 lib/rails_spotlight/channels/request_completed_channel.rb
rails_spotlight-0.2.2 lib/rails_spotlight/channels/request_completed_channel.rb
rails_spotlight-0.2.1 lib/rails_spotlight/channels/request_completed_channel.rb
rails_spotlight-0.2.0 lib/rails_spotlight/channels/request_completed_channel.rb