aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/stubs/test_adapter.rb
blob: c4810469735ecc99d2a85f2f35c0e45101050823 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class SuccessAdapter < ActionCable::SubscriptionAdapter::Base
  def broadcast(channel, payload)
  end

  def subscribe(channel, callback, success_callback = nil)
  end

  def unsubscribe(channel, callback)
  end
end