Class: Bigcommerce::Prometheus::Servers::Thin::Controllers::NotFoundController
- Inherits:
-
BaseController
- Object
- BaseController
- Bigcommerce::Prometheus::Servers::Thin::Controllers::NotFoundController
- Defined in:
- lib/bigcommerce/prometheus/servers/thin/controllers/not_found_controller.rb
Overview
Handle invalid requests to server
Instance Method Summary collapse
Methods inherited from BaseController
#handle, #initialize, #set_header
Constructor Details
This class inherits a constructor from Bigcommerce::Prometheus::Servers::Thin::Controllers::BaseController
Instance Method Details
#call ⇒ Object
27 28 29 30 |
# File 'lib/bigcommerce/prometheus/servers/thin/controllers/not_found_controller.rb', line 27 def call @response.status = 404 @response.body << Bigcommerce::Prometheus.not_found_body end |