app/importers/clients/sftp_client.rb
# avoid storing sensitive data from ENV as an instance variable, read it on-demand
avoid storing sensitive data from ENV as an instance variable, read it on-demand
avoid storing sensitive data from ENV as an instance variable read it on - demand
def env(key)
    if key.nil?
      nil
    elsif override_env.present?
      override_env[key]
    else
      ENV[key]
    end
  end
def env ( key ) if key . nil? nil elsif override_env . present? override_env [ key ] else ENV [ key ] end end
avoid storing sensitive data from ENV as an instance variable, read it on-demand
avoid storing sensitive data from ENV as an instance variable read it on - demand
key
<not_specific>