Method: Corrupt::App.call

Defined in:
lib/corrupt/app.rb

.call(env) ⇒ Object

Returns a proper Rack response in the form of:

[status, headers, content]


8
9
10
# File 'lib/corrupt/app.rb', line 8

def self.call(env)
  Router.dispatch(env['PATH_INFO'])
end