public
Description: a wrapper for the oscurrency API
Homepage: http://opensourcecurrency.org
Clone URL: git://github.com/herestomwiththeweather/oscurrency-ruby-api-wrapper.git
name age message
file .gitignore Sat Jun 27 02:41:35 -0700 2009 initial import [herestomwiththeweather]
file Manifest Fri Jul 03 01:16:18 -0700 2009 added the rest of the models [herestomwiththeweather]
file README.rdoc Wed Aug 26 19:39:30 -0700 2009 [herestomwiththeweather]
file Rakefile Fri Jul 03 13:58:25 -0700 2009 require models [herestomwiththeweather]
file init.rb Mon Jun 29 00:10:25 -0700 2009 added init.rb for plugin option. added Manifest [herestomwiththeweather]
directory lib/ Fri Jul 03 13:58:25 -0700 2009 require models [herestomwiththeweather]
file oscurrency-ruby-api-wrapper.gemspec Fri Jul 03 13:58:25 -0700 2009 require models [herestomwiththeweather]
README.rdoc

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:mypassword@demo.opensourcecurrency.org'})
  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 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" herestomwiththeweather@gmail.com