Class: AttrMasker::Maskers::Simple
- Inherits:
-
Object
- Object
- AttrMasker::Maskers::Simple
- Defined in:
- lib/attr_masker/maskers/simple.rb
Overview
This default masker simply replaces any value with a fixed string.
opts
is a Hash with the key :value that gives you the current attribute value.
Instance Method Summary collapse
Instance Method Details
#call(_opts) ⇒ Object
9 10 11 |
# File 'lib/attr_masker/maskers/simple.rb', line 9 def call(_opts) "(redacted)" end |