Class: Avmtrf1::Tools::Runner::Forponto::Espelho

Inherits:
EacRubyUtils::Console::DocoptRunner
  • Object
show all
Includes:
EacRubyUtils::Console::Speaker, EacRubyUtils::SimpleCache
Defined in:
lib/avmtrf1/tools/runner/forponto/espelho.rb

Constant Summary collapse

DOC =
<<~DOCOPT
  Recupera e trata dados do Forponto.

  Usage:
    __PROGRAM__ [options] <year> <month>
    __PROGRAM__ -h | --help

  Options:
    -h --help                   Show this screen.
DOCOPT

Instance Method Summary collapse

Instance Method Details

#runObject



22
23
24
25
26
# File 'lib/avmtrf1/tools/runner/forponto/espelho.rb', line 22

def run
  infov 'Start date', user_month.start_date
  infov 'End date', user_month.end_date
  out(fetched_data.to_yaml)
end