lib/grape/middleware/base.rb in grape-0.4.1 vs lib/grape/middleware/base.rb in grape-0.5.0
- old
+ new
@@ -32,10 +32,10 @@
# Called after the application is called in the middleware lifecycle.
# @return [Response, nil] a Rack SPEC response or nil to call the application afterwards.
def after; end
def request
- Rack::Request.new(self.env)
+ Grape::Request.new(self.env)
end
def response
Rack::Response.new(@app_response)
end