Class: Net::NNTP::Group

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

Overview

RFC 3977

Request for retrieving group information.

Parent: Net::NNTP::SelectionRequest

Valid Response: GroupSelected

Instance Method Summary collapse

Methods inherited from SelectionRequest

#capability

Methods inherited from Request

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

Constructor Details

#initialize(groupname) ⇒ Group

group is the group name for which the information should be retrieved.



287
288
289
# File 'lib/net/nntp/request.rb', line 287

def initialize(groupname)
  super 'GROUP', groupname
end