class GetHead::Request
Public Class Methods
new(app)
click to toggle source
# File lib/get_head/request.rb, line 3 def initialize(app) @app = app end
Public Instance Methods
call(env)
click to toggle source
# File lib/get_head/request.rb, line 7 def call(env) env['rack.methodoverride.original_method'] = env['REQUEST_METHOD'] @app.call(env) end