Created
May 29, 2018 23:03
-
-
Save radar/a2c1f32dd095fe1e68841139dc6fced5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
name: %w(employee lastnamefirstname displayname), | |
employee_id: ['employeeid'], | |
email: %w(emailwork workemail), | |
date_of_birth: %w(dob dateofbirth birthdate), | |
start_date: %w(startdate hiredate), | |
end_date: %w(enddate terminationdate), | |
locale: ['language'], | |
}.each_with_object({}) { |(k, v), h| v.map { |f| h[f] = k } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment