Class: Thincloud::Postmark::Interceptor
- Inherits:
-
Object
- Object
- Thincloud::Postmark::Interceptor
- Defined in:
- lib/thincloud/postmark/interceptor.rb
Overview
Public: Default Rails mail interceptor
Class Attribute Summary collapse
-
.bcc ⇒ Object
Returns the value of attribute bcc.
-
.cc ⇒ Object
Returns the value of attribute cc.
-
.to ⇒ Object
Returns the value of attribute to.
Class Method Summary collapse
Class Attribute Details
.bcc ⇒ Object
Returns the value of attribute bcc.
8 9 10 |
# File 'lib/thincloud/postmark/interceptor.rb', line 8 def bcc @bcc end |
.cc ⇒ Object
Returns the value of attribute cc.
7 8 9 |
# File 'lib/thincloud/postmark/interceptor.rb', line 7 def cc @cc end |
.to ⇒ Object
Returns the value of attribute to.
6 7 8 |
# File 'lib/thincloud/postmark/interceptor.rb', line 6 def to @to end |
Class Method Details
.delivering_email(message) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/thincloud/postmark/interceptor.rb', line 11 def self.delivering_email() .subject = "[#{message.to}] #{message.subject}" .to = to .cc = cc .bcc = bcc end |