Class: ActionCable::Connection::TestSocket::Request

Inherits:
ActionDispatch::TestRequest
  • Object
show all
Defined in:
lib/action_cable/connection/test_case.rb

Overview

Make session and cookies available to the connection

Instance Attribute Summary collapse

Instance Attribute Details

Returns the value of attribute cookie_jar.



56
57
58
# File 'lib/action_cable/connection/test_case.rb', line 56

def cookie_jar
  @cookie_jar
end

#sessionObject

Returns the value of attribute session.



56
57
58
# File 'lib/action_cable/connection/test_case.rb', line 56

def session
  @session
end