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