Module: Auth::Sanitizer::FilteredAttributes::InitializerMethods — Documentation by YARD 0.9.44

# Module: Auth::Sanitizer::FilteredAttributes::InitializerMethods

Defined in:
  lib/auth/sanitizer/filtered_attributes.rb

## Overview

Initializer hook that snapshots the thing filter for this object.

The snapshot captures both the class-level filtered attribute names and
the current Auth::Sanitizer.filtered_label value.

## Instance Method Summary collapse

- #initialize(*args, &block) ⇒ Object

## Instance Method Details

### #initialize(*args, &block) ⇒ `Object`

    36
    37
    38
    39
    40
    41
    42
    # File 'lib/auth/sanitizer/filtered_attributes.rb', line 36

    def initialize(*args, &block)
      super
      @thing_filter = ThingFilter.new(
        self.class.filtered_attribute_names,
        label: Auth::Sanitizer.filtered_label
      )
    end