Sha256: 0c4fbc14462d286dc05cb7da88dfeb422ea16ccd5ebacc59b0b4c44fdca6df94
Contents?: true
Size: 303 Bytes
Versions: 4
Compression:
Stored size: 303 Bytes
Contents
class MT940::Ing < MT940::Base def self.determine_bank(*args) self if args[0].match(/INGBNL/) end def parse_contra_account if @transaction && @transaction.description.match(/^\d(\d{9})(.+)/) @transaction.contra_account = $1 @transaction.description = $2 end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mt940-0.6.6 | lib/mt940/banks/ing.rb |
mt940-0.6.5 | lib/mt940/banks/ing.rb |
mt940-0.6.4 | lib/mt940/banks/ing.rb |
mt940-0.6.3 | lib/mt940/banks/ing.rb |