Class: Wemux::Pair::Commands::StopSession

Inherits:
Command
  • Object
show all
Defined in:
lib/wemux/pair/commands/stop_session.rb

Instance Method Summary collapse

Methods inherited from Command

#initialize, run

Constructor Details

This class inherits a constructor from Wemux::Pair::Commands::Command

Instance Method Details

#executeObject



8
9
10
# File 'lib/wemux/pair/commands/stop_session.rb', line 8

def execute
  HostTunnel.new(0).close_tunnels
end