Class: Resque::Failure::Notifier
- Inherits:
-
Base
- Object
- Base
- Resque::Failure::Notifier
- Defined in:
- lib/resque_failed_job_mailer/resque/failure/notifier.rb
Class Attribute Summary collapse
-
.from ⇒ Object
Returns the value of attribute from.
-
.include_payload ⇒ Object
Returns the value of attribute include_payload.
-
.mail ⇒ Object
Returns the value of attribute mail.
-
.mailer ⇒ Object
Returns the value of attribute mailer.
-
.to ⇒ Object
Returns the value of attribute to.
Class Method Summary collapse
Instance Method Summary collapse
Class Attribute Details
.from ⇒ Object
Returns the value of attribute from.
7 8 9 |
# File 'lib/resque_failed_job_mailer/resque/failure/notifier.rb', line 7 def from @from end |
.include_payload ⇒ Object
Returns the value of attribute include_payload.
7 8 9 |
# File 'lib/resque_failed_job_mailer/resque/failure/notifier.rb', line 7 def include_payload @include_payload end |
.mail ⇒ Object
Returns the value of attribute mail.
7 8 9 |
# File 'lib/resque_failed_job_mailer/resque/failure/notifier.rb', line 7 def mail @mail end |
.mailer ⇒ Object
Returns the value of attribute mailer.
7 8 9 |
# File 'lib/resque_failed_job_mailer/resque/failure/notifier.rb', line 7 def mailer @mailer end |
.to ⇒ Object
Returns the value of attribute to.
7 8 9 |
# File 'lib/resque_failed_job_mailer/resque/failure/notifier.rb', line 7 def to @to end |
Class Method Details
Instance Method Details
#save ⇒ Object
16 17 18 19 |
# File 'lib/resque_failed_job_mailer/resque/failure/notifier.rb', line 16 def save self.class.mailer.send(self.class.mail, self).deliver rescue end |