Class: Backup::Configuration::Mail
- Extended by:
- Attributes
- Defined in:
- lib/backup/configuration/mail.rb
Instance Method Summary collapse
- #get_smtp_configuration ⇒ Object
-
#initialize ⇒ Mail
constructor
A new instance of Mail.
- #smtp(&block) ⇒ Object
Methods included from Attributes
Constructor Details
#initialize ⇒ Mail
Returns a new instance of Mail.
7 8 9 |
# File 'lib/backup/configuration/mail.rb', line 7 def initialize @smtp_configuration = Backup::Configuration::SMTP.new end |
Instance Method Details
#get_smtp_configuration ⇒ Object
15 16 17 |
# File 'lib/backup/configuration/mail.rb', line 15 def get_smtp_configuration @smtp_configuration end |
#smtp(&block) ⇒ Object
11 12 13 |
# File 'lib/backup/configuration/mail.rb', line 11 def smtp(&block) @smtp_configuration.instance_eval &block end |