Module: Resque::Mailer
- Defined in:
- lib/resque_mailer.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
- .excluded_environments ⇒ Object
- .excluded_environments=(*environments) ⇒ Object
- .included(base) ⇒ Object
Class Method Details
.excluded_environments ⇒ Object
36 37 38 |
# File 'lib/resque_mailer.rb', line 36 def self.excluded_environments @@excluded_environments ||= [] end |
.excluded_environments=(*environments) ⇒ Object
32 33 34 |
# File 'lib/resque_mailer.rb', line 32 def self.excluded_environments=(*environments) @@excluded_environments = environments && environments.flatten.collect! { |env| env.to_sym } end |
.included(base) ⇒ Object
4 5 6 |
# File 'lib/resque_mailer.rb', line 4 def self.included(base) base.extend(ClassMethods) end |