Method: Ngrok::Tunnel.stop
- Defined in:
- lib/ngrok/tunnel.rb
.stop ⇒ Object
38 39 40 41 42 43 44 45 |
# File 'lib/ngrok/tunnel.rb', line 38 def stop if running? Process.kill(9, @pid) @ngrok_url = @ngrok_url_https = @pid = nil @status = :stopped end @status end |