Class: Otto::ResponseHandlers::DefaultHandler
- Inherits:
-
BaseHandler
- Object
- BaseHandler
- Otto::ResponseHandlers::DefaultHandler
- Defined in:
- lib/otto/response_handlers/default.rb
Overview
Default handler that preserves existing Otto behavior
Class Method Summary collapse
Methods inherited from BaseHandler
Class Method Details
.handle(_result, response, _context = {}) ⇒ Object
11 12 13 14 15 |
# File 'lib/otto/response_handlers/default.rb', line 11 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 |