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

+ (Object) current_env

Returns the value of attribute current_env



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

def current_env
  @current_env
end

+ (Object) default_queue_name

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

+ (Object) default_queue_target

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

+ (Object) error_handler

Returns the value of attribute error_handler



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

def error_handler
  @error_handler
end

+ (Object) excluded_environments

Returns the value of attribute excluded_environments



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

def excluded_environments
  @excluded_environments
end

+ (Object) logger

Returns the value of attribute logger



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

def logger
  @logger
end

Class Method Details

+ (Object) fallback_to_synchronous=(val)

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

+ (Object) included(base)



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

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