Sha256: 87cd9116d3eddeaefac7a8b44eb3d85a45c4c3fd68c06e96244ed5e2f4f7ac20
Contents?: true
Size: 963 Bytes
Versions: 5
Compression:
Stored size: 963 Bytes
Contents
class HrImportPipeline < RubySync::Pipelines::BasePipeline client :my_csv vault :hr_db # Remove any fields that you don't want to set in the client from the vault allow_out :first_name, :last_name # Remove any fields that you don't want to set in the vault from the client allow_in :first_name, :last_name # If the client and vault have different names for the same field, define the # the mapping here. For example, if the vault has a field called "first name" and # the client has a field called givenName you may put: # 'first name' => 'givenName' # separate each mapping with a comma. # The following fields were detected on the client: # 'given name', 'last name', 'phone number', 'email' map_vault_to_client( 'first_name' => 'given name', 'last_name' => 'last name' ) # "in" means going from client to vault #in_transform do #end # "out" means going from vault to client #out_transform do #end end
Version data entries
5 entries across 5 versions & 1 rubygems