Sha256: 74ac72e07482e27a97d00a8168ac5ab70b153f7f9705fc4d1730497f9387e304

Contents?: true

Size: 486 Bytes

Versions: 6

Compression:

Stored size: 486 Bytes

Contents

class HrConnector < RubySync::Connectors::CsvFileConnector
  
            # True if the first line of each file is a header
            # and should be ignored
            header_line   true

            field_names   'id,first_name,last_name,skills'.split(',')
            path_field    'id'
            in_path       "#{File.dirname(__FILE__)}/../../in"
            #out_path      '/directory/to/write/files/to'
            in_glob       '*.csv'
            out_extension '.csv'

end

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
rubysync-0.2.1 examples/csv_to_ldap/config/connectors/hr_connector.rb
rubysync-0.1.1 examples/csv_to_xml/config/connectors/hr_connector.rb
rubysync-0.1.0 examples/csv_to_xml/config/connectors/hr_connector.rb
rubysync-0.1.1 examples/csv_to_ldap/config/connectors/hr_connector.rb
rubysync-0.1.0 examples/csv_to_ldap/config/connectors/hr_connector.rb
rubysync-0.2.1 examples/csv_to_xml/config/connectors/hr_connector.rb