Class: Mailboxer::MailDispatcher
- Inherits:
-
Object
- Object
- Mailboxer::MailDispatcher
- Defined in:
- lib/mailboxer/mail_dispatcher.rb
Instance Attribute Summary collapse
-
#mailable ⇒ Object
readonly
Returns the value of attribute mailable.
-
#receipts ⇒ Object
readonly
Returns the value of attribute receipts.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(mailable, receipts) ⇒ MailDispatcher
constructor
A new instance of MailDispatcher.
Constructor Details
#initialize(mailable, receipts) ⇒ MailDispatcher
Returns a new instance of MailDispatcher.
5 6 7 |
# File 'lib/mailboxer/mail_dispatcher.rb', line 5 def initialize(mailable, receipts) @mailable, @receipts = mailable, receipts end |
Instance Attribute Details
#mailable ⇒ Object (readonly)
Returns the value of attribute mailable.
3 4 5 |
# File 'lib/mailboxer/mail_dispatcher.rb', line 3 def mailable @mailable end |
#receipts ⇒ Object (readonly)
Returns the value of attribute receipts.
3 4 5 |
# File 'lib/mailboxer/mail_dispatcher.rb', line 3 def receipts @receipts end |