module Auth::Sanitizer::FilteredAttributes::InitializerMethods
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.
Public Class Methods
new(*args, &block)
click to toggle source
Calls superclass method
# File lib/auth/sanitizer/filtered_attributes.rb 34 def initialize(*args, &block) 35 super 36 @thing_filter = ThingFilter.new( 37 self.class.filtered_attribute_names, 38 label: Auth::Sanitizer.filtered_label 39 ) 40 end