Class: Avmtrf1::Tools::Runner::Esosti::Fetch
- Inherits:
-
EacRubyUtils::Console::DocoptRunner
- Object
- EacRubyUtils::Console::DocoptRunner
- Avmtrf1::Tools::Runner::Esosti::Fetch
- Defined in:
- lib/avmtrf1/tools/runner/esosti/fetch.rb
Constant Summary collapse
- DOC =
<<~DOCOPT Recupera o conteúdo de uma solicitação e-Sosti (Control Desk). Usage: __PROGRAM__ [options] <solicitacao_id> __PROGRAM__ -h | --help Options: -h --help Mostra esta ajuda. DOCOPT
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
28 29 30 31 32 |
# File 'lib/avmtrf1/tools/runner/esosti/fetch.rb', line 28 def run infov 'URL', request.url fatal_error("Issue não encontrado: #{solicitacao_id}") unless issue out issue.data.to_yaml end |