Sha256: d0805509fe59ac6d8b63657aa651ce2b5dfa7fc5643cc0002cc2cea6fba06987
Contents?: true
Size: 303 Bytes
Versions: 8
Compression:
Stored size: 303 Bytes
Contents
require 'active_support/hash_with_indifferent_access' module Sunzi module Cli::Secrets extend self attr_accessor :env def load_env(stage) path = File.expand_path('config/secrets.yml') @env = HashWithIndifferentAccess.new(YAML.load(File.read(path))[stage]) end end end
Version data entries
8 entries across 8 versions & 1 rubygems