Module: Net::SMTP::TLS::ClassMethods
- Defined in:
- lib/reap/extensions/net/smtp_tls.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.extended(base) ⇒ Object
19 20 21 |
# File 'lib/reap/extensions/net/smtp_tls.rb', line 19 def self.extended(base) base.disable_tls end |
Instance Method Details
#disable_tls ⇒ Object
27 28 29 |
# File 'lib/reap/extensions/net/smtp_tls.rb', line 27 def disable_tls() @@usetls = false end |
#enable_tls ⇒ Object
23 24 25 |
# File 'lib/reap/extensions/net/smtp_tls.rb', line 23 def enable_tls() @@usetls = true end |
#use_tls? ⇒ Boolean
31 32 33 |
# File 'lib/reap/extensions/net/smtp_tls.rb', line 31 def use_tls?() @@usetls end |