Class: BOTR::NotAllowedResponse

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

Returns a new instance of NotAllowedResponse.



43
44
45
# File 'lib/botr/http/http_response.rb', line 43

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