Class: BOTR::UnauthorizedResponse

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

Returns a new instance of UnauthorizedResponse.



25
26
27
# File 'lib/botr/http/http_response.rb', line 25

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