Class: ZAWS::Sumoapi::SumoCreds::Creds::YamlFile

Inherits:
ZAWS::Sumoapi::SumoCreds::Creds show all
Defined in:
lib/zaws/external/sumoapi/sumo_creds.rb

Overview

Subclass that loads creds from a YAML file.

Constant Summary collapse

FILENAME =
'.sumo.yml'

Instance Method Summary collapse

Methods inherited from ZAWS::Sumoapi::SumoCreds::Creds

#access_id, #access_key, #url

Constructor Details

#initialize(home) ⇒ YamlFile

Returns a new instance of YamlFile.



43
44
45
# File 'lib/zaws/external/sumoapi/sumo_creds.rb', line 43

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