Module: GdprAdmin::Anonymizers::NameAnonymizer

Included in:
Helpers::FieldAnonymizerHelper
Defined in:
lib/gdpr_admin/anonymizers/name_anonymizer.rb

Instance Method Summary collapse

Instance Method Details

#anonymize_first_nameObject



10
11
12
# File 'lib/gdpr_admin/anonymizers/name_anonymizer.rb', line 10

def anonymize_first_name
  Faker::Name.first_name
end

#anonymize_last_nameObject



14
15
16
# File 'lib/gdpr_admin/anonymizers/name_anonymizer.rb', line 14

def anonymize_last_name
  Faker::Name.last_name
end

#anonymize_nameObject



6
7
8
# File 'lib/gdpr_admin/anonymizers/name_anonymizer.rb', line 6

def anonymize_name
  Faker::Name.name
end