Class: BankAccountStatement::Inputs::HTML::CPBKGB22::Personal::Current::V_2011_05_07

Inherits:
Base
  • Object
show all
Defined in:
lib/bank-account-statement/inputs/HTML/CPBKGB22/Personal/Current/V_2011_05_07.rb

Overview

HTML statement parsing for The Co-operative Bank current accounts.

This version is named 2011-05-07 because for quite a while after that time, statements were made available in the same format (also on that date, and perhaps before?). Note, however, that the statement format changed some time around 2015-03-03, for which a different parser should be used. If you experience an error trying to process a recent statement (or rather, a statement downloaded recently, as it could be an old statement), then this is probably why.

Direct Known Subclasses

Savings::V_2011_05_07

Constant Summary collapse

TH =
Hash[{
  :date       => 'Date',
  :desc       => 'Transaction',
  :deposit    => 'Deposits',
  :withdrawal => 'Withdrawals',
  :balance    => 'Balance',
}.map { |k, v| [k, v.freeze] }].freeze

Constants inherited from Base

Base::ACCOUNT_TYPE

Constants inherited from Base

Base::FILE_EXT

Method Summary

Methods inherited from Base

#account, #balance, #bank, #currency, #transactions

Methods inherited from Base

#initialize

Methods inherited from Base

formats, inherited, #parse

Constructor Details

This class inherits a constructor from BankAccountStatement::Inputs::HTML::Base