Class: MailMethod
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- MailMethod
- Defined in:
- app/models/mail_method.rb
Constant Summary collapse
- MAIL_AUTH =
['none', 'plain', 'login', 'cram_md5']
- SECURE_CONNECTION_TYPES =
['None','SSL','TLS']
Class Method Summary collapse
Class Method Details
.current ⇒ Object
20 21 22 |
# File 'app/models/mail_method.rb', line 20 def self.current MailMethod.where(:environment => Rails.env).first end |