Class: Hotwire::Spark::ActionCable::Server
- Inherits:
-
ActionCable::Server::Base
- Object
- ActionCable::Server::Base
- Hotwire::Spark::ActionCable::Server
- Defined in:
- lib/hotwire/spark/action_cable/server.rb
Instance Method Summary collapse
-
#initialize ⇒ Server
constructor
A new instance of Server.
Constructor Details
#initialize ⇒ Server
Returns a new instance of Server.
2 3 4 5 6 |
# File 'lib/hotwire/spark/action_cable/server.rb', line 2 def initialize config = ::ActionCable::Server::Base.config.dup config.connection_class = -> { ::ActionCable::Connection::Base } super(config: config) end |