Sha256: f98c278240ad93ba4613f1650c1b936cff27ef39b07fb3f2a16a4e45b0a8d258
Contents?: true
Size: 413 Bytes
Versions: 1
Compression:
Stored size: 413 Bytes
Contents
Rails.application.config.to_prepare do EuGdpr::Configuration.personal_data_root_classes.call.each do |model, options| model.send(:include, Model::EuGdpr::PersonalDataConcern) model.personal_data_attributes = options[:personal_data_attributes] model.gdpr_export_options = { :only => options[:personal_data_attributes] } end end if EuGdpr::Configuration.personal_data_root_classes.respond_to?(:call)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_eu_gdpr-0.0.4 | config/initializers/inject_models.rb |