ruby-figo Build Status

Ruby bindings for the figo Connect API: http://developer.figo.me

Usage

First, you've to install the gem

    gem install figo

and require it

    require "figo"

Now you can create a new session and access data:

    session = Figo::Session.new("ASHWLIkouP2O6_bgA2wWReRhletgWKHYjLqDaqb0LFfamim9RjexTo22ujRIP_cjLiRiSyQXyt2kM1eXU2XLFZQ0Hro15HikJQT_eNeT_9XQ")

    # Print out a list of accounts.
    session.accounts.each do ||
      puts 
      puts .balance
    end

    # Print out the list of all transactions of a specific account.
    session.("A1.2").transactions.each do |transaction|
      puts transaction
    end

Requirements

This gem requires Ruby 1.9.