Class: ArMailerRevised::Mailman
- Inherits:
-
Object
- Object
- ArMailerRevised::Mailman
- Includes:
- Helpers::CommandLine, Helpers::General
- Defined in:
- lib/ar_mailer_revised/mailman.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Mailman
constructor
Simply holds a copy of the options given in from command line.
- #run ⇒ Object
Methods included from Helpers::General
#log_file, #log_level, #logger, #rails_environment, #rails_environment?
Constructor Details
#initialize(options = {}) ⇒ Mailman
Simply holds a copy of the options given in from command line
22 23 24 |
# File 'lib/ar_mailer_revised/mailman.rb', line 22 def initialize( = {}) @options = end |
Instance Method Details
#run ⇒ Object
26 27 28 29 |
# File 'lib/ar_mailer_revised/mailman.rb', line 26 def run logger.debug "ArMailerRevised initialized with the following options:\n" + Hirb::Helpers::AutoTable.render(@options) deliver_emails end |