Class: Net::NNTP::HelpResponse

Inherits:
InformationResponse show all
Defined in:
lib/net/nntp/response.rb

Overview

Code: 100

Response to a Help request.

Instance Attribute Summary collapse

Attributes inherited from Response

#code, #message, #request

Instance Method Summary collapse

Methods included from BodyBaseResponse

#body, #body=, #parse_body

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, message)
  super request, code, message, false, true
end

Instance Attribute Details

#rawObject (readonly)

Returns the value of attribute raw.



158
159
160
# File 'lib/net/nntp/response.rb', line 158

def raw
  @raw
end