aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/stubs/test_adapter.rb
blob: bbd142b287a25127004de3ef0cbc03f89521a96f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
class SuccessAdapter < ActionCable::SubscriptionAdapter::Base
  def broadcast(channel, payload)
  end

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

  def unsubscribe(channel, callback)
  end
end