Class: Rack::ServiceApiVersioning::ReportNotFound
- Inherits:
-
HttpErrorResponse
- Object
- HttpErrorResponse
- Rack::ServiceApiVersioning::ReportNotFound
- Defined in:
- lib/rack/service_api_versioning/report_not_found.rb
Overview
Builds Rack::Response to halt request execution, responding with a 404.
Constant Summary collapse
- DEFAULT_MESSAGE =
'Invalid value for COMPONENT_DESCRIPTION'
Class Method Summary collapse
Methods inherited from HttpErrorResponse
Class Method Details
.call(code: 404, message: DEFAULT_MESSAGE) ⇒ Object
13 14 15 |
# File 'lib/rack/service_api_versioning/report_not_found.rb', line 13 def self.call(code: 404, message: DEFAULT_MESSAGE) new(code, ).call end |