lib/grape/middleware/base.rb in grape-0.1.1 vs lib/grape/middleware/base.rb in grape-0.1.3
- old
+ new
@@ -26,10 +26,10 @@
# @abstract
# Called before the application is called in the middleware lifecycle.
def before; end
# @abstract
# Called after the application is called in the middleware lifecycle.
- # @returns [Response, nil] a Rack SPEC response or nil to call the application afterwards.
+ # @return [Response, nil] a Rack SPEC response or nil to call the application afterwards.
def after; end
def request
Rack::Request.new(self.env)
end
\ No newline at end of file