Module: Resque::Mailer

Defined in:
lib/resque_mailer.rb,
lib/resque_mailer/version.rb

Defined Under Namespace

Modules: ClassMethods Classes: MessageDecoy

Constant Summary

VERSION =
"2.2.7"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.current_envObject

Returns the value of attribute current_env



6
7
8
# File 'lib/resque_mailer.rb', line 6

def current_env
  @current_env
end

.default_queue_nameObject

Returns the value of attribute default_queue_name



6
7
8
# File 'lib/resque_mailer.rb', line 6

def default_queue_name
  @default_queue_name
end

.default_queue_targetObject

Returns the value of attribute default_queue_target



6
7
8
# File 'lib/resque_mailer.rb', line 6

def default_queue_target
  @default_queue_target
end

.error_handlerObject

Returns the value of attribute error_handler



6
7
8
# File 'lib/resque_mailer.rb', line 6

def error_handler
  @error_handler
end

.excluded_environmentsObject

Returns the value of attribute excluded_environments



7
8
9
# File 'lib/resque_mailer.rb', line 7

def excluded_environments
  @excluded_environments
end

.loggerObject

Returns the value of attribute logger



6
7
8
# File 'lib/resque_mailer.rb', line 6

def logger
  @logger
end

Class Method Details

.fallback_to_synchronous=(val) ⇒ Object

Deprecated



18
19
20
# File 'lib/resque_mailer.rb', line 18

def fallback_to_synchronous=(val)
  warn "WARNING: fallback_to_synchronous option is deprecated and will be removed in the next release"
end

.included(base) ⇒ Object



13
14
15
# File 'lib/resque_mailer.rb', line 13

def included(base)
  base.extend(ClassMethods)
end