Skip to Content Skip to Search

module ActionCable::Connection::TestConnection

Attributes

[R] logger
[R] request

Public class methods

Source code GitHub
# File actioncable/lib/action_cable/connection/test_case.rb, line 53
def initialize(request)
  inner_logger = ActiveSupport::Logger.new(StringIO.new)
  tagged_logging = ActiveSupport::TaggedLogging.new(inner_logger)
  @logger = ActionCable::Connection::TaggedLoggerProxy.new(tagged_logging, tags: [])
  @request = request
  @env = request.env
end

Definition files