aboutsummaryrefslogblamecommitdiffstats
path: root/actioncable/test/stubs/test_server.rb
blob: f9168f9b784d1abf058317f26a435f452b00a28c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                 

                                          





                                                                                      


                
   
require 'ostruct'

class TestServer
  include ActionCable::Server::Connections

  attr_reader :logger, :config

  def initialize
    @logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
    @config = OpenStruct.new(log_tags: [])
  end

  def send_async
  end
end