Class: OFX::BankStatement

Inherits:
OFX::Base::Statement show all
Defined in:
lib/ofx_kit/bank_statement.rb

Overview

Represents a complete bank statement parsed from an OFX file, aggregating the account, its transactions, and the closing balance.

Example

stmt = OFX.new("bank.ofx").statements.first
stmt.              #=> #<OFX::BankAccount ...>
stmt.balance              #=> #<OFX::Balance ...>
stmt.transactions         #=> #<OFX::TransactionCollection ...>
stmt.bank_statement?      #=> true

Instance Attribute Summary

Attributes inherited from OFX::Base::Statement

#account, #balance, #transactions

Instance Method Summary collapse

Methods inherited from OFX::Base::Statement

#credit_card_statement?, #initialize

Constructor Details

This class inherits a constructor from OFX::Base::Statement

Instance Method Details

#bank_statement?Boolean

Always true.

Returns:

  • (Boolean)


16
# File 'lib/ofx_kit/bank_statement.rb', line 16

def bank_statement? = true