Class: Processors::N26
- Defined in:
- lib/ynab_convert/processors/n26_processor.rb
Overview
Processor for N26 statements
Instance Method Summary collapse
-
#initialize(filepath:) ⇒ N26
constructor
A new instance of N26.
Methods inherited from Processor
Constructor Details
#initialize(filepath:) ⇒ N26
Returns a new instance of N26.
11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/ynab_convert/processors/n26_processor.rb', line 11 def initialize(filepath:) transformers = [ Transformers::Cleaners::N26.new, Transformers::Formatters::N26.new, Transformers::Enhancers::N26.new ] statement = Documents::Statements::N26.new(filepath: filepath) ynab4_file = Documents::YNAB4Files::YNAB4File.new(format: :amounts, institution_name: statement.institution_name) super(statement: statement, ynab4_file: ynab4_file, transformers: transformers) end |