Class: Net::NNTP::HelpResponse
- Inherits:
-
InformationResponse
- Object
- Response
- InformationResponse
- Net::NNTP::HelpResponse
- Defined in:
- lib/net/nntp/response.rb
Overview
Code: 100
Response to a Help request.
Instance Attribute Summary collapse
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Attributes inherited from Response
Instance Method Summary collapse
-
#initialize(request, code, message) ⇒ HelpResponse
constructor
A new instance of HelpResponse.
Methods included from BodyBaseResponse
Methods inherited from Response
#==, #body, class_from_code, create, #force_close?, #generic?, #has_body?, #multiline?, #needs_article?
Constructor Details
#initialize(request, code, message) ⇒ HelpResponse
Returns a new instance of HelpResponse.
159 160 161 |
# File 'lib/net/nntp/response.rb', line 159 def initialize(request, code, ) super request, code, , false, true end |
Instance Attribute Details
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
158 159 160 |
# File 'lib/net/nntp/response.rb', line 158 def raw @raw end |