Methods
C
Class Public methods
call(env)
# File actionpack/test/controller/integration_test.rb, line 752
def self.call(env)
  if env["PATH_INFO"] =~ /^\/success/
    [200, {"Content-Type" => "text/plain", "Content-Length" => "12"}, ["Hello World!"]]
  else
    [404, {"Content-Type" => "text/plain", "Content-Length" => "0"}, []]
  end
end