Sha256: c3b4edde96ffc68fa19098a50feca9c1559d338ecd68a1fabf9f606af430eac3
Contents?: true
Size: 593 Bytes
Versions: 15
Compression:
Stored size: 593 Bytes
Contents
module Foreplay class Engine class Secrets autoload :Location, 'foreplay/engine/secrets/location' attr_reader :environment, :secret_locations def initialize(e, sl) @environment = e @secret_locations = sl end def fetch return unless secret_locations secrets = {} secret_locations.each { |secret_location| secrets.merge! location_secrets(secret_location) } secrets end def location_secrets(secret_location) Location.new(secret_location, environment).secrets end end end end
Version data entries
15 entries across 15 versions & 1 rubygems