README.md in figo-1.1.1 vs README.md in figo-1.2.0
- old
+ new
@@ -1,9 +1,9 @@
-ruby-figo [![Build Status](https://secure.travis-ci.org/figo-connect/ruby-figo.png)](https://travis-ci.org/figo-connect/ruby-figo)
+ruby-figo [![Build Status](https://secure.travis-ci.org/figo-connect/ruby-figo.png)](https://travis-ci.org/figo-connect/ruby-figo) [![Gem Version](http://img.shields.io/gem/v/figo.svg)](http://rubygems.org/gems/figo)
=========
-Ruby bindings for the figo Connect API: http://developer.figo.me
+Ruby bindings for the figo Connect API: http://docs.figo.io
Usage
=====
First, you've to install the gem:
@@ -55,19 +55,23 @@
# Trade in authorization code for access token.
token_hash = connection.obtain_access_token(authorization_code)
# Start session.
session = Figo::Session.new(token_hash["access_token"])
-
+
# Print out list of account numbers.
session.accounts.each do |account|
puts account.account_number
end
end
```
You can find more documentation at http://rubydoc.info/github/figo-connect/ruby-figo/master/frames
+Demos
+-----
+In this repository you can also have a look at a simple console(`console_demo.rb`) and web demo(`web_demo`). While the console demo simply accesses the figo API, the web demo implements the full OAuth flow.
+
Requirements
-============
+------------
This gem requires Ruby 1.9.