class TaskJuggler::Tj3SsReceiver
Public Class Methods
new()
click to toggle source
Calls superclass method
TaskJuggler::Tj3SheetAppBase::new
# File lib/taskjuggler/apps/Tj3SsReceiver.rb, line 24 def initialize super end
Public Instance Methods
appMain(argv)
click to toggle source
# File lib/taskjuggler/apps/Tj3SsReceiver.rb, line 42 def appMain(argv) ts = TaskJuggler::StatusSheetReceiver.new('tj3ss_receiver') @rc.configure(ts, 'global') @rc.configure(ts, 'statussheets') @rc.configure(ts, 'statussheets.receiver') ts.workingDir = @workingDir if @workingDir ts.dryRun = @dryRun ts.processEmail 0 end
processArguments(argv)
click to toggle source
Calls superclass method
TaskJuggler::Tj3SheetAppBase#processArguments
# File lib/taskjuggler/apps/Tj3SsReceiver.rb, line 28 def processArguments(argv) super do @opts.banner.prepend(<<'EOT' This program can be used to receive filled-out status sheets via email. It reads the emails from STDIN and extracts the status sheet from the attached files. The status sheet is checked for correctness. Good status sheets are filed away. The sender be informed by email that the status sheets was accepted or rejected. EOT ) end end