Class: BossMailer::ConfigFetcher
- Inherits:
-
Object
- Object
- BossMailer::ConfigFetcher
- Defined in:
- lib/boss_mailer/config_fetcher.rb
Instance Attribute Summary collapse
-
#mail_settings ⇒ Object
Returns the value of attribute mail_settings.
-
#working_hours ⇒ Object
Returns the value of attribute working_hours.
Instance Method Summary collapse
-
#initialize ⇒ ConfigFetcher
constructor
A new instance of ConfigFetcher.
Constructor Details
#initialize ⇒ ConfigFetcher
Returns a new instance of ConfigFetcher.
8 9 10 11 |
# File 'lib/boss_mailer/config_fetcher.rb', line 8 def initialize @mail_settings = fetch_mail_settings @working_hours = fetch_working_hours end |
Instance Attribute Details
#mail_settings ⇒ Object
Returns the value of attribute mail_settings.
5 6 7 |
# File 'lib/boss_mailer/config_fetcher.rb', line 5 def mail_settings @mail_settings end |
#working_hours ⇒ Object
Returns the value of attribute working_hours.
6 7 8 |
# File 'lib/boss_mailer/config_fetcher.rb', line 6 def working_hours @working_hours end |