Class: Net::NNTP::Body
- Inherits:
-
RetrievalRequest
- Object
- Request
- RetrievalRequest
- Net::NNTP::Body
- Defined in:
- lib/net/nntp/request.rb
Overview
BODY request
Valid Responses: BodyResponse, NoGroupSelected, InvalidArticle, InvalidNumberOrRange, NoSuchMessageid
Instance Method Summary collapse
- #capability ⇒ Object
-
#initialize(param = nil) ⇒ Body
constructor
-
param
is either a message-id or an article number in the selected group.
-
Methods inherited from Request
#command, #dotstuff, #msgid_or_range, #range, #valid_response?
Constructor Details
#initialize(param = nil) ⇒ Body
-
param
is either a message-id or an article number in the selected group.
see Net::NNTP::Article.new
480 481 482 |
# File 'lib/net/nntp/request.rb', line 480 def initialize(param=nil) super 'BODY', param end |
Instance Method Details
#capability ⇒ Object
488 489 490 |
# File 'lib/net/nntp/request.rb', line 488 def capability 'reader' end |