Class: Net::NNTP::Over

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

Overview

RFC 3977

OVER request.

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

Instance Method Summary collapse

Methods inherited from Request

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

Constructor Details

#initialize(range = nil) ⇒ Over

  • range can be a string or a hash with either the key :msgid or the keys :start and optionally :end to denote a range.



748
749
750
# File 'lib/net/nntp/request.rb', line 748

def initialize(range=nil)
  super 'OVER', msgid_or_range(range)
end

Instance Method Details

#capabilityObject



757
758
759
# File 'lib/net/nntp/request.rb', line 757

def capability
  'over'
end