class ZAWS::Command::Config
Attributes
config[RW]
out[RW]
print_exit_code[RW]
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
# File lib/zaws/command/config.rb, line 12 def initialize(*args) super shellout=ZAWS::Helper::Shell.new nessusapi = ZAWS::Nessusapi.new(shellout) sumoapi = ZAWS::Sumoapi.new(shellout) newrelicapi = ZAWS::Newrelicapi.new(shellout) awscli = ZAWS::AWSCLI.new(shellout) @config = ZAWS::Controllers::Config.new(shellout, nessusapi,sumoapi,newrelicapi,awscli) @out = $stdout @print_exit_code = false end
Public Instance Methods
remove_creds()
click to toggle source
# File lib/zaws/command/config.rb, line 26 def remove_creds @config.awscli.home=options[:home] @config.awscli.remove_creds() @config.nessusapi.home=options[:home] @config.nessusapi.remove_creds() @config.sumoapi.home=options[:home] @config.sumoapi.remove_creds() @config.newrelicapi.home=options[:home] @config.newrelicapi.remove_creds() end