class AWS::PWS::StealthClient

Public Class Methods

new() click to toggle source
Calls superclass method AWS::PWS::Client::new
# File lib/aws/pws/stealth_client.rb, line 6
def initialize
  ::PWS.include(AWS::PWS::Silencer)

  STDERR.print 'Enter PWS password: '
  system 'stty -echo'
  @cli = ::PWS.new(password: gets.chomp)
  system 'stty echo'
  STDERR.puts

  super
end