Module: Jenkins::RackSupport

Defined in:
lib/jenkins/rack.rb

Overview

By including this module into your model class and defining the Rack-compatible call method, you can handle requests within your model object through a Rack application, effectively making Jenkins a rack server.

Instance Method Summary collapse

Instance Method Details

#doDynamic(request, response) ⇒ Object



10
11
12
# File 'lib/jenkins/rack.rb', line 10

def doDynamic(request, response)
  $RUBYPLUGIN.rack(Rack::Handler::Servlet.new(self))
end