Class: ZAWS::Helper::NessusCreds::Creds::YamlFile

Inherits:
ZAWS::Helper::NessusCreds::Creds show all
Defined in:
lib/zaws/helper/nessus_creds.rb

Overview

Subclass that loads creds from a YAML file.

Constant Summary collapse

FILENAME =
'.nessus.yml'

Instance Method Summary collapse

Methods inherited from ZAWS::Helper::NessusCreds::Creds

#access_key, #secret_key, #url

Constructor Details

#initialize(home) ⇒ YamlFile

Returns a new instance of YamlFile.



43
44
45
# File 'lib/zaws/helper/nessus_creds.rb', line 43

def initialize(home)
  @creds_file = File.join(home, FILENAME)
end