class Rack::JsonSchema::ResponseValidation::InvalidResponseContentType
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/rack/json_schema/response_validation.rb, line 143 def initialize super("Response Content-Type wasn't for JSON") end
Public Instance Methods
id()
click to toggle source
# File lib/rack/json_schema/response_validation.rb, line 147 def id "invalid_response_content_type" end
status()
click to toggle source
# File lib/rack/json_schema/response_validation.rb, line 151 def status 500 end