Class: Katello::Middleware::EventDaemon
- Inherits:
-
Object
- Object
- Katello::Middleware::EventDaemon
- Defined in:
- lib/katello/middleware/event_daemon.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ EventDaemon
constructor
A new instance of EventDaemon.
Constructor Details
#initialize(app) ⇒ EventDaemon
Returns a new instance of EventDaemon.
4 5 6 |
# File 'lib/katello/middleware/event_daemon.rb', line 4 def initialize(app) @app = app end |
Instance Method Details
#call(env) ⇒ Object
8 9 10 11 |
# File 'lib/katello/middleware/event_daemon.rb', line 8 def call(env) Katello::EventDaemon::Runner.start @app.call(env) end |