Class: UffizziCore::BaseSerializer

Inherits:
ActiveModel::Serializer
  • Object
show all
Defined in:
app/serializers/uffizzi_core/base_serializer.rb

Instance Method Summary collapse

Instance Method Details

#anonymize(field) ⇒ Object



4
5
6
# File 'app/serializers/uffizzi_core/base_serializer.rb', line 4

def anonymize(field)
  '*' * field.length
end