class EnvParameterStore::Railtie

Public Instance Methods

inject_secrets() click to toggle source
# File lib/env_parameter_store/rails.rb, line 6
def inject_secrets
                    EnvParameterStore.inject(root.join(EnvParameterStore::DEFAULT_ENV_FILENAME))
end
root() click to toggle source
# File lib/env_parameter_store/rails.rb, line 10
def root
  Rails.root || Pathname.new(ENV['RAILS_ROOT'] || Dir.pwd)
end