Method: HttpStub::Server::Application::ResponsePipeline#process

Defined in:
lib/http_stub/server/application/response_pipeline.rb

#process(response) ⇒ Object



11
12
13
14
# File 'lib/http_stub/server/application/response_pipeline.rb', line 11

def process(response)
  sleep response.delay_in_seconds
  response.serve_on(@application)
end