Class: Net::NNTP::Stat

Inherits:
Request show all
Defined in:
lib/net/nntp/request.rb

Overview

RFC 3977

STAT request

Valid Responses: ArticleSelected, NoGroupSelected, InvalidArticle, InvalidNumberOrRange, NoSuchMessageid

Instance Method Summary collapse

Methods inherited from Request

#capability, #command, #dotstuff, #msgid_or_range, #range, #valid_response?

Constructor Details

#initialize(param = nil) ⇒ Stat

  • param is either a message-id or an article number in the selected group.

see Net::NNTP::Article.new



506
507
508
# File 'lib/net/nntp/request.rb', line 506

def initialize(param=nil)
  super 'STAT', param
end