class Rack::ServiceApiVersioning::ReportNotFound
Builds Rack::Response to halt request execution, responding with a 404.
Constants
- DEFAULT_MESSAGE
Public Class Methods
call(code: 404, message: DEFAULT_MESSAGE)
click to toggle source
# File lib/rack/service_api_versioning/report_not_found.rb, line 13 def self.call(code: 404, message: DEFAULT_MESSAGE) new(code, message).call end