class Pytty::Client::Cli::PortCommand
Public Instance Methods
execute()
click to toggle source
# File lib/pytty/client/cli/port_command.rb, line 14 def execute Async.run do from,to = ports.split(":") Pytty::Client::Api::Port.run id: id, from: from, to: to end end