Class: Rack::ServiceApiVersioning::HttpErrorResponse
- Inherits:
-
Object
- Object
- Rack::ServiceApiVersioning::HttpErrorResponse
- Defined in:
- lib/rack/service_api_versioning/http_error_response.rb
Overview
Builds Rack::Response with specified status code and body message.
Direct Known Subclasses
ReportInvalidDescription, ReportNoMatchingVersion, ReportNotFound
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
12 13 14 |
# File 'lib/rack/service_api_versioning/http_error_response.rb', line 12 def call Rack::Response.new(, code).finish end |