Class: Net::NNTP::Date

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

Overview

RFC 3977

DATE request.

Valid Response: DateResponse

Instance Method Summary collapse

Methods inherited from Request

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

Constructor Details

#initializeDate

Returns a new instance of Date.



645
646
647
# File 'lib/net/nntp/request.rb', line 645

def initialize
  super 'DATE'
end

Instance Method Details

#capabilityObject



654
655
656
# File 'lib/net/nntp/request.rb', line 654

def capability
  'reader'
end