Class: FederalOffense::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- FederalOffense::Engine
- Defined in:
- lib/federal_offense/engine.rb
Class Attribute Summary collapse
-
.cable_server ⇒ Object
Returns the value of attribute cable_server.
Class Method Summary collapse
Class Attribute Details
.cable_server ⇒ Object
Returns the value of attribute cable_server.
11 12 13 |
# File 'lib/federal_offense/engine.rb', line 11 def cable_server @cable_server end |
Class Method Details
.cable_config ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/federal_offense/engine.rb', line 13 def cable_config @cable_config ||= ::ActionCable::Server::Configuration.new.tap do |config| config.logger = Rails.logger config.connection_class = -> { FederalOffense::ActionCable::Connection } config.mount_path = "cable" end end |