Class: Request

Inherits:
Rack::Request
  • Object
show all
Defined in:
lib/bigsword/request.rb

Instance Method Summary collapse

Constructor Details

#initialize(env) ⇒ Request

Returns a new instance of Request.



4
5
6
7
# File 'lib/bigsword/request.rb', line 4

def initialize(env)
  env['PATH_INFO'] = '/' if env['PATH_INFO'].empty?
  super
end