Method: ImmutableStructExRedactable::Configuration#whitelist

Defined in:
lib/immutable_struct_ex_redactable/configuration.rb

#whitelistArray<Symbol>

Gets/sets the whitelisted fields that should not be redacted for this gem.

The default is [].

Returns:

  • (Array<Symbol>)

    an Array of Symbols that should be whitelisted.



41
42
43
# File 'lib/immutable_struct_ex_redactable/configuration.rb', line 41

def whitelist
  @whitelist
end