Class: Workarea::ReleaseServerMiddleware
- Inherits:
-
Object
- Object
- Workarea::ReleaseServerMiddleware
- Defined in:
- app/middleware/workarea/release_server_middleware.rb
Instance Method Summary collapse
- #call(worker, msg, queue) ⇒ Object
-
#initialize(options = {}) ⇒ ReleaseServerMiddleware
constructor
A new instance of ReleaseServerMiddleware.
Constructor Details
#initialize(options = {}) ⇒ ReleaseServerMiddleware
Returns a new instance of ReleaseServerMiddleware.
3 4 5 |
# File 'app/middleware/workarea/release_server_middleware.rb', line 3 def initialize( = {}) @options = end |
Instance Method Details
#call(worker, msg, queue) ⇒ Object
7 8 9 |
# File 'app/middleware/workarea/release_server_middleware.rb', line 7 def call(worker, msg, queue) Release.without_current { yield } end |