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