Class: LogStash::Outputs::WebSocket::App

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/logstash/outputs/websocket/app.rb

Instance Method Summary collapse

Constructor Details

#initialize(channels, logger) ⇒ App

Returns a new instance of App.



9
10
11
12
# File 'lib/logstash/outputs/websocket/app.rb', line 9

def initialize(channels, logger)
  @channels = channels
  @logger = logger
end