Sha256: 22081f6ff6329fa90d375363cc70fff271697578ee535f457d9a854f59c858fa

Contents?: true

Size: 569 Bytes

Versions: 6

Compression:

Stored size: 569 Bytes

Contents

# frozen_string_literal: true

require 'ynab_convert/documents/statements/statement'

module Documents
  module Statements
    # Represents a statement from N26 Bank
    class N26 < Statement
      # @param filepath [String] Path to CSV statement
      # @return [void]
      def initialize(filepath:)
        csv_import_options = {
          col_sep: ',',
          quote_char: '"',
          headers: true,
          encoding: 'bom|utf-8'
        }

        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/n26_statement.rb
ynab_convert-2.0.5 lib/ynab_convert/documents/statements/n26_statement.rb
ynab_convert-2.0.4 lib/ynab_convert/documents/statements/n26_statement.rb
ynab_convert-2.0.3 lib/ynab_convert/documents/statements/n26_statement.rb
ynab_convert-2.0.1 lib/ynab_convert/documents/statements/n26_statement.rb
ynab_convert-2.0.0 lib/ynab_convert/documents/statements/n26_statement.rb