Sha256: cf650eb861ed7ba57f18e51747956d599a2a37d642effb743647fc1a3c97bebd

Contents?: true

Size: 589 Bytes

Versions: 1

Compression:

Stored size: 589 Bytes

Contents

Rails.application.config.after_initialize do
  if EuGdpr::Configuration.enforce_ssl?
    puts "[EU GDPR] Traffic encryption check (via force_ssl) => [OK]"
  else
    puts "[EU GDPR] Warning: Traffic encryption check (via force_ssl) => [FALSE]"
  end

  if EuGdpr::Configuration.enable_cookie_consent_banner?
    puts "[EU GDPR] Cookie consent banner enabled? => [OK]"
  else
    puts "[EU GDPR] Warning: Cookie consent banner enabled? => [FALSE]"
  end

  puts "[EU GDPR] Filtered personal data attributes => #{(EuGdpr::Configuration.filter_personal_data_attributes || []).join(", ")}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_eu_gdpr-0.0.4 config/initializers/show_status.rb