Ruby OsCurrency API wrapper GEM

What

This is a RubyGem for accessing resources on OsCurrency servers in Ruby applications.

Installing

sudo gem install herestomwiththeweather-oscurrency-ruby-api-wrapper -s http://gems.github.com

The source code is hosted on GitHub github.com/herestomwiththeweather/oscurrency-ruby-api-wrapper

The basics

This gem is primarily for ruby on rails web applications and supports oauth. It allows a web application to present payment dropboxes, fetch information about people or groups, and create new groups and currencies.

Demonstration of usage

Retrieve information about myself with HTTP Authorization:

oc = Oscurrency.register({:site => 'http://tbbrown%40hotmail.com:[email protected]'})
me = oc.Person.find(0)

There is a sample app code and a screencast that shows OAuth Stupid Currency Tricks

Documentation Wiki

There is some documentation for the API at the OsCurrency Github Wiki

Forum

groups.google.com/group/opensourcecurrency

How to submit patches

Read the “8 steps for fixing other people’s code” drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/.

The source code is now hosted on the OAuth GitHub Project github.com/herestomwiththeweather/oscurrency-ruby-api-wrapper

To submit a patch, please fork the oscurrency-ruby-api-wrapper project and create a patch with tests. Once you’re happy with it send a pull request and post a message to the google group.

License

This code is free to use under the terms of the MIT license.

Contact

Comments are welcome. Send an email to “Tom Brown” [email protected]