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(pubsub, logger) ⇒ App

Returns a new instance of App.



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

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