class Pytty::Client::Cli::StdoutCommand
Public Instance Methods
execute()
click to toggle source
# File lib/pytty/client/cli/stdout_command.rb, line 13 def execute Async.run do response, body = Pytty::Client::Api::Stdout.run id: id if response.status == 200 puts body.read else puts body.read exit 1 end end end