Sha256: a9e544fd7624b26aa46347a3150f7c5a3de7b1be8c1a1187beb77cd91811992e

Contents?: true

Size: 891 Bytes

Versions: 1

Compression:

Stored size: 891 Bytes

Contents

ruby-figo [![Build Status](https://secure.travis-ci.org/figo-connect/ruby-figo.png)](https://travis-ci.org/figo-connect/ruby-figo)
=========

Ruby bindings for the figo connect API: http://figo.me

Usage
=====

First, you've to install the gem

```bash
    gem install figo
```

and require it

```ruby
    require "figo"
```

Now you can create a new session and access data:

```ruby
    session = Figo::Session.new("ASHWLIkouP2O6_bgA2wWReRhletgWKHYjLqDaqb0LFfamim9RjexTo22ujRIP_cjLiRiSyQXyt2kM1eXU2XLFZQ0Hro15HikJQT_eNeT_9XQ")
    
    # Print out a list of accounts.
    session.accounts.each do |account|
      puts account
      puts account.balance
    end

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

Requirements
============

This gem requires Ruby 1.9.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
figo-1.0 README.md