Class: Net::NNTP::SyntaxError

Inherits:
FailResponse show all
Defined in:
lib/net/nntp/response.rb

Overview

Code: 501

Instance Attribute Summary

Attributes inherited from Response

#code, #message, #request

Instance Method Summary collapse

Methods inherited from Response

#==, #body, class_from_code, create, #force_close?, #generic?, #has_body?, #multiline?, #needs_article?

Constructor Details

#initialize(request, code, message) ⇒ SyntaxError

Returns a new instance of SyntaxError.



623
624
625
# File 'lib/net/nntp/response.rb', line 623

def initialize(request, code, message)
  super request, code, message, true
end