Class: Konfig::SmtpAdapter
- Defined in:
- lib/konfig/rails/adapters/smtp_adapter.rb
Instance Attribute Summary
Attributes inherited from Adapter
Instance Method Summary collapse
Methods inherited from Adapter
adjust_whitespace, has_template, #initialize, template_for, templates
Methods included from ChildClassManager
Constructor Details
This class inherits a constructor from Konfig::Adapter
Instance Method Details
#adapt ⇒ Object
4 5 6 7 8 |
# File 'lib/konfig/rails/adapters/smtp_adapter.rb', line 4 def adapt using(:smtp) do |data| ActionMailer::Base.smtp_settings = data[Rails.env].to_hash.symbolize_keys end end |