Sha256: adf580e8eda190a524ae29ab3a6f97786d9cb6e8148d89b90b6f7b78a85d5b42

Contents?: true

Size: 500 Bytes

Versions: 6

Compression:

Stored size: 500 Bytes

Contents

# frozen_string_literal: true

module Documents
  module Statements
    # UBS Switzerland Credit Card accounts statement
    class UBSCredit < Statement
      def initialize(filepath:)
        csv_import_options = {
          col_sep: ';',
          quote_char: nil,
          headers: true,
          encoding: "#{Encoding::ISO_8859_1}:#{Encoding::UTF_8}",
          skip_lines: 'sep=;'
        }
        super(filepath: filepath, csv_import_options: csv_import_options)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ynab_convert-2.0.6 lib/ynab_convert/documents/statements/ubs_credit_statement.rb
ynab_convert-2.0.5 lib/ynab_convert/documents/statements/ubs_credit_statement.rb
ynab_convert-2.0.4 lib/ynab_convert/documents/statements/ubs_credit_statement.rb
ynab_convert-2.0.3 lib/ynab_convert/documents/statements/ubs_credit_statement.rb
ynab_convert-2.0.1 lib/ynab_convert/documents/statements/ubs_credit_statement.rb
ynab_convert-2.0.0 lib/ynab_convert/documents/statements/ubs_credit_statement.rb