Module: EffectivePolls

Includes:
EffectiveGem
Defined in:
lib/effective_polls.rb,
lib/effective_polls/engine.rb,
lib/effective_polls/version.rb,
lib/generators/effective_polls/install_generator.rb

Defined Under Namespace

Modules: Generators Classes: Engine

Constant Summary collapse

VERSION =
'0.6.2'

Class Method Summary collapse

Class Method Details

.config_keysObject



8
9
10
11
12
13
# File 'lib/effective_polls.rb', line 8

def self.config_keys
  [
    :layout,
    :mailer, :parent_mailer, :deliver_method, :mailer_layout, :mailer_sender, :mailer_froms, :mailer_admin, :mailer_subject
  ]
end

.mailer_classObject



17
18
19
# File 'lib/effective_polls.rb', line 17

def self.mailer_class
  mailer&.constantize || Effective::PollsMailer
end