Class: BOTR::BadRequestResponse

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 = "") ⇒ BadRequestResponse

Returns a new instance of BadRequestResponse.



19
20
21
# File 'lib/botr/http/http_response.rb', line 19

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