Module: Backburner::Mailer
- Defined in:
- lib/backburner_mailer.rb
Defined Under Namespace
Modules: ClassMethods Classes: MessageDecoy
Class Attribute Summary collapse
-
.current_env ⇒ Object
Returns the value of attribute current_env.
-
.default_queue_name ⇒ Object
Returns the value of attribute default_queue_name.
-
.default_queue_target ⇒ Object
Returns the value of attribute default_queue_target.
-
.error_handler ⇒ Object
Returns the value of attribute error_handler.
-
.excluded_environments ⇒ Object
Returns the value of attribute excluded_environments.
-
.fallback_to_synchronous ⇒ Object
Returns the value of attribute fallback_to_synchronous.
-
.logger ⇒ Object
Returns the value of attribute logger.
Class Method Summary collapse
Class Attribute Details
.current_env ⇒ Object
Returns the value of attribute current_env.
6 7 8 |
# File 'lib/backburner_mailer.rb', line 6 def current_env @current_env end |
.default_queue_name ⇒ Object
Returns the value of attribute default_queue_name.
6 7 8 |
# File 'lib/backburner_mailer.rb', line 6 def default_queue_name @default_queue_name end |
.default_queue_target ⇒ Object
Returns the value of attribute default_queue_target.
6 7 8 |
# File 'lib/backburner_mailer.rb', line 6 def default_queue_target @default_queue_target end |
.error_handler ⇒ Object
Returns the value of attribute error_handler.
6 7 8 |
# File 'lib/backburner_mailer.rb', line 6 def error_handler @error_handler end |
.excluded_environments ⇒ Object
Returns the value of attribute excluded_environments.
7 8 9 |
# File 'lib/backburner_mailer.rb', line 7 def excluded_environments @excluded_environments end |
.fallback_to_synchronous ⇒ Object
Returns the value of attribute fallback_to_synchronous.
6 7 8 |
# File 'lib/backburner_mailer.rb', line 6 def fallback_to_synchronous @fallback_to_synchronous end |
.logger ⇒ Object
Returns the value of attribute logger.
6 7 8 |
# File 'lib/backburner_mailer.rb', line 6 def logger @logger end |
Class Method Details
.included(base) ⇒ Object
13 14 15 16 |
# File 'lib/backburner_mailer.rb', line 13 def included(base) base.send(:include, Backburner::Queue) base.extend(ClassMethods) end |