Class: MT940Structured::Parsers::Ing::TransactionParsers
- Inherits:
-
Object
- Object
- MT940Structured::Parsers::Ing::TransactionParsers
- Defined in:
- lib/mt940_structured/parsers/ing/parser.rb
Instance Method Summary collapse
Instance Method Details
#for_format(is_structured) ⇒ Object
13 14 15 |
# File 'lib/mt940_structured/parsers/ing/parser.rb', line 13 def for_format(is_structured) is_structured ? StructuredTransactionParser.new : TransactionParser.new end |
#structured?(line_61) ⇒ Boolean
9 10 11 |
# File 'lib/mt940_structured/parsers/ing/parser.rb', line 9 def structured?(line_61) line_61.match /EREF|PREF|MARF|\d{16}/ end |