Class: BOTR::NotFoundResponse

Inherits:
HTTPResponse show all
Defined in:
lib/botr/http/http_response.rb

Instance Attribute Summary

Attributes inherited from HTTPResponse

#body, #status

Instance Method Summary collapse

Constructor Details

#initialize(body = "") ⇒ NotFoundResponse

Returns a new instance of NotFoundResponse.



37
38
39
# File 'lib/botr/http/http_response.rb', line 37

def initialize(body = "")
	super(404, body)
end