Sha256: 8c7f7b76593475c195a466bccb58f5254b15f66a7635c60d3eec5aa5b8ac1c79
Contents?: true
Size: 865 Bytes
Versions: 6
Compression:
Stored size: 865 Bytes
Contents
# frozen_string_literal: true require 'ynab_convert/documents' require 'ynab_convert/transformers' require 'ynab_convert/processors/processor' module Processors # Processor for N26 statements class N26 < Processor # @param filepath [String] path to the CSV file 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 end end
Version data entries
6 entries across 6 versions & 1 rubygems