Class: BitClust::RackRequestHandler
- Inherits:
-
RequestHandler
- Object
- RequestHandler
- BitClust::RackRequestHandler
- Defined in:
- lib/bitclust/requesthandler.rb
Instance Method Summary collapse
Methods inherited from RequestHandler
Constructor Details
This class inherits a constructor from BitClust::RequestHandler
Instance Method Details
#handle(rack_req) ⇒ Object
124 125 126 127 128 129 130 |
# File 'lib/bitclust/requesthandler.rb', line 124 def handle(rack_req) _handle(RackRequest.new(rack_req)) rescue BitClust::NotFoundError => err return not_found_response(err) rescue => err return error_response(err) end |