Class: ZAWS::Helper::NessusCreds::Creds::YamlFile
- Inherits:
-
ZAWS::Helper::NessusCreds::Creds
- Object
- ZAWS::Helper::NessusCreds::Creds
- ZAWS::Helper::NessusCreds::Creds::YamlFile
- 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
-
#initialize(home) ⇒ YamlFile
constructor
A new instance of YamlFile.
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 |