Module: Resque::Mailer
- Defined in:
- lib/resque_mailer.rb,
lib/resque_mailer/version.rb,
lib/resque_mailer/serializers/pass_thru_serializer.rb,
lib/resque_mailer/serializers/active_record_serializer.rb
Defined Under Namespace
Modules: ClassMethods, Serializers Classes: MessageDecoy
Constant Summary collapse
- VERSION =
"2.4.3"
Class Attribute Summary collapse
-
.argument_serializer ⇒ Object
Returns the value of attribute argument_serializer.
-
.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.
-
.logger ⇒ Object
Returns the value of attribute logger.
Class Method Summary collapse
Class Attribute Details
.argument_serializer ⇒ Object
Returns the value of attribute argument_serializer.
10 11 12 |
# File 'lib/resque_mailer.rb', line 10 def argument_serializer @argument_serializer end |
.current_env ⇒ Object
Returns the value of attribute current_env.
9 10 11 |
# File 'lib/resque_mailer.rb', line 9 def current_env @current_env end |
.default_queue_name ⇒ Object
Returns the value of attribute default_queue_name.
9 10 11 |
# File 'lib/resque_mailer.rb', line 9 def default_queue_name @default_queue_name end |
.default_queue_target ⇒ Object
Returns the value of attribute default_queue_target.
9 10 11 |
# File 'lib/resque_mailer.rb', line 9 def default_queue_target @default_queue_target end |
.error_handler ⇒ Object
Returns the value of attribute error_handler.
9 10 11 |
# File 'lib/resque_mailer.rb', line 9 def error_handler @error_handler end |
.excluded_environments ⇒ Object
Returns the value of attribute excluded_environments.
11 12 13 |
# File 'lib/resque_mailer.rb', line 11 def excluded_environments @excluded_environments end |
.logger ⇒ Object
Returns the value of attribute logger.
9 10 11 |
# File 'lib/resque_mailer.rb', line 9 def logger @logger end |
Class Method Details
.included(base) ⇒ Object
23 24 25 |
# File 'lib/resque_mailer.rb', line 23 def included(base) base.extend(ClassMethods) end |
.prepare_message(klass, action, *args) ⇒ Object
17 18 19 20 21 |
# File 'lib/resque_mailer.rb', line 17 def (klass, action, *args) msg = klass.send(:new) msg.process(action, *args) msg. end |