Top Level Namespace

Defined Under Namespace

Modules: Webhookapp

Constant Summary collapse

CLIENT_ID =
"ace69df24ae5b175054489faafcd2157faf3d771ba1367764f62277d8f608db6"

Instance Method Summary collapse

Instance Method Details

#read_passwordObject



11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/webhookapp/tunnel/runner.rb', line 11

def read_password
  stty_settings = `stty -g`
  print 'Password: '

  begin
    `stty -echo`
    password = STDIN.gets.chomp
  ensure
    `stty #{stty_settings}`
  end
  password
end