Class: Exwiw::Adapter::MongodbAdapter::MaskPlan

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#embeddedObject

Returns the value of attribute embedded

Returns:

  • (Object)

    the current value of embedded



399
400
401
# File 'lib/exwiw/adapter/mongodb_adapter.rb', line 399

def embedded
  @embedded
end

#masked_fieldsObject

Returns the value of attribute masked_fields

Returns:

  • (Object)

    the current value of masked_fields



399
400
401
# File 'lib/exwiw/adapter/mongodb_adapter.rb', line 399

def masked_fields
  @masked_fields
end