Class: Courrier::Configuration::Inbox
- Inherits:
-
Object
- Object
- Courrier::Configuration::Inbox
- Defined in:
- lib/courrier/configuration/inbox.rb
Instance Attribute Summary collapse
-
#destination ⇒ Object
Returns the value of attribute destination.
-
#template_path ⇒ Object
Returns the value of attribute template_path.
Instance Method Summary collapse
-
#initialize ⇒ Inbox
constructor
A new instance of Inbox.
Constructor Details
#initialize ⇒ Inbox
Returns a new instance of Inbox.
8 9 10 11 |
# File 'lib/courrier/configuration/inbox.rb', line 8 def initialize @destination = default_destination @template_path = File.("../../../app/views/courrier/previews/default.html.erb", __dir__) end |
Instance Attribute Details
#destination ⇒ Object
Returns the value of attribute destination.
6 7 8 |
# File 'lib/courrier/configuration/inbox.rb', line 6 def destination @destination end |
#template_path ⇒ Object
Returns the value of attribute template_path.
6 7 8 |
# File 'lib/courrier/configuration/inbox.rb', line 6 def template_path @template_path end |