class ActionDispatch::Routing::RouteSetTest::SimpleApp
Public Class Methods
new(response)
click to toggle source
# File actionpack/test/dispatch/routing/route_set_test.rb, line 9 def initialize(response) @response = response end
Public Instance Methods
call(env)
click to toggle source
# File actionpack/test/dispatch/routing/route_set_test.rb, line 13 def call(env) [ 200, { "Content-Type" => "text/plain" }, [response] ] end