Class/Module Index [+]

Quicksearch

TaskJuggler::Tj3SsReceiver

Public Class Methods

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

Public Instance Methods

appMain(argv) click to toggle source
# File lib/taskjuggler/apps/Tj3SsReceiver.rb, line 38
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
# File lib/taskjuggler/apps/Tj3SsReceiver.rb, line 26
def processArguments(argv)
  super do
    @opts.banner += 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 theattached files. The status sheet is checked for correctness. Good statussheets are filed away. The sender be informed by email that the statussheets was accepted or rejected.
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.