Module: Net::SMTPError
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/net/smtp.rb |
Overview
Module mixed in to all SMTP
error classes
Instance Attribute Summary
-
#response
readonly
This class is a module for backward compatibility.
Instance Method Summary
Instance Attribute Details
#response (readonly)
This class is a module for backward compatibility. In later release, this module becomes a class.
# File 'lib/net/smtp.rb', line 37
attr_reader :response
Instance Method Details
#initialize(response, message: nil)
[ GitHub ]#message
[ GitHub ]# File 'lib/net/smtp.rb', line 49
def @message || response. end