Module: ActiveRecord::DataClassification
- Defined in:
- lib/active_record/data_classification.rb,
lib/active_record/data_classification/column.rb,
lib/active_record/data_classification/report.rb,
lib/active_record/data_classification/version.rb,
lib/active_record/data_classification/model_space.rb,
lib/active_record/data_classification/table_space.rb,
lib/active_record/data_classification/configuration.rb,
lib/active_record/data_classification/model_annotation.rb,
lib/active_record/data_classification/model_reflection.rb,
lib/active_record/data_classification/aggregate/extension.rb,
lib/active_record/data_classification/declare_schema/extension.rb
Defined Under Namespace
Modules: Aggregate, DeclareSchema, ModelAnnotation, ModelSpace, Report, TableSpace
Classes: Configuration, ConfigurationError, ModelReflection
Constant Summary
collapse
- Column =
Struct.new(
:column,
:type,
:sensitivity,
:sensitivity_source,
:anonymization,
:models
).freeze
- VERSION =
"0.1.0"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
23
24
25
|
# File 'lib/active_record/data_classification.rb', line 23
def config
@config ||= Configuration.new
end
|
19
20
21
|
# File 'lib/active_record/data_classification.rb', line 19
def configure(&block)
@config = Configuration.new.tap(&block).freeze
end
|