Class/Module Index [+]

Quicksearch

TaskJuggler::Tj3TsReceiver

Public Class Methods

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

Public Instance Methods

appMain(argv) click to toggle source
# File lib/taskjuggler/apps/Tj3TsReceiver.rb, line 41
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
processArguments(argv) click to toggle source
# File lib/taskjuggler/apps/Tj3TsReceiver.rb, line 29
def processArguments(argv)
  super do
    @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.
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.