Class: Net::SMTPErrors
- Inherits:
-
ProtoAuthError
- Object
- ProtoAuthError
- Net::SMTPErrors
- Includes:
- SMTPError
- Defined in:
- lib/smtp/patch/smtp.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ SMTPErrors
constructor
A new instance of SMTPErrors.
- #message ⇒ Object
Constructor Details
#initialize(errors) ⇒ SMTPErrors
Returns a new instance of SMTPErrors.
9 10 11 12 |
# File 'lib/smtp/patch/smtp.rb', line 9 def initialize(errors) @errors = errors super end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
7 8 9 |
# File 'lib/smtp/patch/smtp.rb', line 7 def errors @errors end |
Instance Method Details
#message ⇒ Object
14 15 16 |
# File 'lib/smtp/patch/smtp.rb', line 14 def "failed to deliver for #{errors}." end |