Class: Net::NNTP::Post

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

Constant Summary collapse

METHOD =
'POST'
RESPONSES =
{
  # first stage
  340 => NNTPSendArticle,
  440 => NNTPPostingNotPermittedError,
  # second stage
  240 => NNTPArticleReceived,
  441 => NNTPPostingFailedError
}

Instance Attribute Summary

Attributes inherited from Net::NNTPGenericRequest

#raw

Method Summary

Methods inherited from Net::NNTPRequest

#initialize, #process_parameters

Methods inherited from Net::NNTPGenericRequest

#initialize, #response_class

Constructor Details

This class inherits a constructor from Net::NNTPRequest