Sha256: 1a56d5475bb78ee72cd81fa6bbce4a181fb064b06080366df2d18258158c89ad
Contents?: true
Size: 732 Bytes
Versions: 6
Compression:
Stored size: 732 Bytes
Contents
# frozen_string_literal: true module Processors # UBS Switzerland Chequing accounts processor class UBSChequing < Processor # @param filepath [String] path to the CSV file def initialize(filepath:) transformers = [ Transformers::Cleaners::UBSChequing.new, Transformers::Formatters::UBSChequing.new ] statement = Documents::Statements::UBSChequing.new(filepath: filepath) ynab4_file_options = { format: :flows, institution_name: statement.institution_name } ynab4_file = Documents::YNAB4Files::YNAB4File.new(ynab4_file_options) super(statement: statement, ynab4_file: ynab4_file, transformers: transformers) end end end
Version data entries
6 entries across 6 versions & 1 rubygems