Class: Patriot::Worker::Servlet::IndexServlet

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/patriot/worker/servlet/index_servlet.rb

Overview

allow to monitor worker status

Class Method Summary collapse

Class Method Details

.configure(worker, config) ⇒ Object

Parameters:



17
18
19
# File 'lib/patriot/worker/servlet/index_servlet.rb', line 17

def self.configure(worker, config)
  @@worker = worker
end