Class Index [+]

Quicksearch

TaskJuggler::Tj3TsReceiver

Public Class Methods

new() click to toggle source
    # File lib/taskjuggler/apps/Tj3TsReceiver.rb, line 27
27:     def initialize
28:       super
29:     end

Public Instance Methods

appMain(argv) click to toggle source
    # File lib/taskjuggler/apps/Tj3TsReceiver.rb, line 43
43:     def appMain(argv)
44:       begin
45:         ts = TimeSheetReceiver.new('tj3ts_receiver')
46:         @rc.configure(ts, 'global')
47:         @rc.configure(ts, 'timesheets')
48:         @rc.configure(ts, 'timesheets.receiver')
49:         ts.workingDir = @workingDir if @workingDir
50:         ts.dryRun = @dryRun
51: 
52:         ts.processEmail
53:         return 0
54:       rescue TjRuntimeError
55:         return 1
56:       end
57:     end
processArguments(argv) click to toggle source
    # File lib/taskjuggler/apps/Tj3TsReceiver.rb, line 31
31:     def processArguments(argv)
32:       super do
33:         @opts.banner += This program can be used to receive filled-out time sheets via email.  Itreads the emails from STDIN and extracts the time sheet from the attachedfiles. The time sheet is checked for correctness. Good time sheets are filedaway. The sender will be informed by email that the time sheets was acceptedor rejected.
34:       end
35:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.