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