Class: Exwiw::Adapter::MongodbAdapter::MaskPlan
- Inherits:
-
Struct
- Object
- Struct
- Exwiw::Adapter::MongodbAdapter::MaskPlan
- Defined in:
- lib/exwiw/adapter/mongodb_adapter.rb
Overview
A masking plan compiled once per collection config and reused for every document of that collection. ‘masked_fields` is `[field_name, template_segments]` for each field carrying a `replace_with`; `embedded` is one EmbeddedMask per embedded child.
Instance Attribute Summary collapse
-
#embedded ⇒ Object
Returns the value of attribute embedded.
-
#masked_fields ⇒ Object
Returns the value of attribute masked_fields.
Instance Attribute Details
#embedded ⇒ Object
Returns the value of attribute embedded
475 476 477 |
# File 'lib/exwiw/adapter/mongodb_adapter.rb', line 475 def @embedded end |
#masked_fields ⇒ Object
Returns the value of attribute masked_fields
475 476 477 |
# File 'lib/exwiw/adapter/mongodb_adapter.rb', line 475 def masked_fields @masked_fields end |