Class: Documents::Statements::N26

Inherits:
Statement
  • Object
show all
Defined in:
lib/ynab_convert/documents/statements/n26_statement.rb

Overview

Represents a statement from N26 Bank

Instance Attribute Summary

Attributes inherited from Statement

#csv_import_options, #filepath

Instance Method Summary collapse

Methods inherited from Statement

#institution_name

Constructor Details

#initialize(filepath:) ⇒ void

Parameters:

  • filepath (String)

    Path to CSV statement



11
12
13
14
15
16
17
18
19
20
21
# File 'lib/ynab_convert/documents/statements/n26_statement.rb', line 11

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