Class: MailRoom::Delivery::Logger::Options
- Inherits:
-
Struct
- Object
- Struct
- MailRoom::Delivery::Logger::Options
- Defined in:
- lib/mail_room/delivery/logger.rb
Instance Attribute Summary collapse
-
#log_path ⇒ Object
Returns the value of attribute log_path.
Instance Method Summary collapse
-
#initialize(mailbox) ⇒ Options
constructor
A new instance of Options.
Constructor Details
#initialize(mailbox) ⇒ Options
Returns a new instance of Options.
9 10 11 12 13 |
# File 'lib/mail_room/delivery/logger.rb', line 9 def initialize(mailbox) log_path = mailbox.log_path || mailbox.[:log_path] super(log_path) end |
Instance Attribute Details
#log_path ⇒ Object
Returns the value of attribute log_path
8 9 10 |
# File 'lib/mail_room/delivery/logger.rb', line 8 def log_path @log_path end |