Class: Net::NNTP::GroupListResponse
- Inherits:
-
OKResponse
- Object
- Response
- OKResponse
- Net::NNTP::GroupListResponse
- Includes:
- BodyBaseResponse
- Defined in:
- lib/net/nntp/response.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#list ⇒ Object
readonly
Returns the value of attribute list.
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Attributes inherited from Response
Instance Method Summary collapse
-
#initialize(request, code, message) ⇒ GroupListResponse
constructor
A new instance of GroupListResponse.
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) ⇒ GroupListResponse
Returns a new instance of GroupListResponse.
273 274 275 276 |
# File 'lib/net/nntp/response.rb', line 273 def initialize(request, code, ) @list = [] super request, code, , false, true end |
Instance Attribute Details
#list ⇒ Object (readonly)
Returns the value of attribute list.
271 272 273 |
# File 'lib/net/nntp/response.rb', line 271 def list @list end |
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
271 272 273 |
# File 'lib/net/nntp/response.rb', line 271 def raw @raw end |