Method: Foreplay::Engine::Secrets#fetch

Defined in:
lib/foreplay/engine/secrets.rb

#fetchObject



9
10
11
12
13
14
15
16
17
18
19
# File 'lib/foreplay/engine/secrets.rb', line 9

def fetch
  return unless secret_locations

  secrets = {}

  secret_locations.each do |secret_location|
    secrets.merge! fetch_from(secret_location) || {}
  end

  secrets
end