Skip to content

v0.1.0

Choose a tag to compare

@lucasgeron lucasgeron released this 03 Jun 01:01
· 16 commits to main since this release
b3f0375

Added

  • Parse OFX 1.x (SGML) and OFX 2.x (XML) files via `OFX.new(path_or_io)`
  • `OFX::BankAccount` and `OFX::CreditCardAccount` domain objects
  • `OFX::BankStatement` and `OFX::CreditCardStatement` com `account`, `balance` e `transactions`
  • `OFX::TransactionCollection` — `Enumerable` com `.credits`, `.debits`, `.total_credits`, `.total_debits`, `.net`
  • `OFX::Balance` com `amount` (Money), `amount_cents` e `posted_at`
  • Configurable field mappings via `OFX.configure` e `OFX.config`
  • `OFX.configure { |c| c.transaction.map "TAG", to: :attr }` for custom/renamed fields
  • `OFX.config.load_mappings("path/to/mappings.yml")` for YAML-based configuration
  • `OFX.config.multi_statement_warnings` flag to silence aggregation warnings
  • Rails generator `rails generate ofx:eject` to copy default mappings into the app
  • Auto-load of `config/initializers/ofx_mappings.yml` in Rails projects