New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

banker-ofx

Package Overview
Dependencies
Maintainers
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

banker-ofx

  • 0.4.2
  • Rubygems
  • Socket score

Version published
Maintainers
3
Created
Source

Banker-OFX CI Build Status Dependency Status

A simple OFX (Open Financial Exchange) parser originally forked from Nando Vieira. Now supports Bank Accounts and Credit Cards as well as Multiple Accounts.

Usage

require 'ofx'

ofx = OFX("statement.ofx")

ofx.bank_accounts.each do |bank_account|
  puts bank_account.id # => "492108"
  puts bank_account.bank_id # => "1837"
  puts bank_account.currency # => "GBP"
  puts bank_account.type # => :checking
  puts bank_account.balance.amount # => "100.00"
  puts bank_account.balance.amount_in_pennies # => "10000"
  puts bank_account.transactions # => [#<OFX::Transaction:0x007ff3bb8cf418>]
end

ofx.credit_cards.each do |credit_card|
  puts credit_card.id # => "81728918309730"
  puts credit_card.currency # => "GBP"
  puts bank_account.balance.amount # => "-100.00"
  puts bank_account.balance.amount_in_pennies # => "-10000"
  puts credit_card.transactions # => [#<OFX::Transaction:0x007ff3bb8cf418>]
end

Supports

Ruby
  • 1.9.2
  • 1.9.3
OFX
  • 1.0.2
  • 2.1.1

ToDo

  1. Support other OFX Versions

Original Fork

FAQs

Package last updated on 27 May 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc