Class: Otto::ResponseHandlers::DefaultHandler
- Inherits:
-
BaseHandler
- Object
- BaseHandler
- Otto::ResponseHandlers::DefaultHandler
- Defined in:
- lib/otto/response_handlers.rb
Overview
Default handler that preserves existing Otto behavior
Class Method Summary collapse
Class Method Details
.handle(result, response, context = {}) ⇒ Object
76 77 78 79 80 |
# File 'lib/otto/response_handlers.rb', line 76 def self.handle(result, response, context = {}) # Otto's default behavior - let the route handler manage the response # This handler does nothing, preserving existing behavior ensure_status_set(response, 200) end |