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 =
"Recupera e trata dados do Forponto.\n\nUsage:\n  __PROGRAM__ [options] <year> <month>\n  __PROGRAM__ -h | --help\n\nOptions:\n  -h --help                   Show this screen.\n"

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