Module: Remi::DataSubject::CsvFile::CsvFileClassMethods Private

Defined in:
lib/remi/data_subjects/csv_file.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#default_csv_optionsObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



12
13
14
15
16
17
18
19
20
21
# File 'lib/remi/data_subjects/csv_file.rb', line 12

def default_csv_options
  @default_csv_options ||= CSV::DEFAULT_OPTIONS.merge({
    headers: true,
    header_converters: Remi::FieldSymbolizers[:standard],
    converters: [],
    col_sep: ',',
    encoding: 'UTF-8',
    quote_char: '"'
  })
end