Class: BOTR::UnauthorizedResponse
- Inherits:
-
HTTPResponse
- Object
- HTTPResponse
- BOTR::UnauthorizedResponse
- Defined in:
- lib/botr/http/http_response.rb
Instance Attribute Summary
Attributes inherited from HTTPResponse
Instance Method Summary collapse
-
#initialize(body = "") ⇒ UnauthorizedResponse
constructor
A new instance of UnauthorizedResponse.
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 |