Class: LogStash::Outputs::WebSocket::App
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- LogStash::Outputs::WebSocket::App
- Defined in:
- lib/logstash/outputs/websocket/app.rb
Instance Method Summary collapse
-
#initialize(pubsub, logger) ⇒ App
constructor
A new instance of App.
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 |