Archive for 'Ruby'

This is a short post about a small ruby gem I have written awhile ago. It’s a simple interface to Payone’s HTTP API. Payone is a payment service provider in Germany that offers several different payment methods like credit card, direct debit and so on and so forth.

The gem is still a little bit rough around the edges and doesn’t do much more than sending http post requests. So you still have to know the payone API. There is a lot of room for improvement, I am thinking about an API similar to ActiveMerchant or even an integration.

For the impatient here is how you install it:

gem install gemcutter
gem tumble

gem install payone_connect

And here is how you use it:

require 'payone_connect'
payone = PayoneConnect.new(api_key,params_hash)
puts payone.request[:status]

Enough said, here you can find the code: http://github.com/phuesler/payone_connect

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Here is a presentation I gave awhile ago at the Ruby on Rails Switzerland User Group. It talks about ways to migrate data from existing applications into a Rails application.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Here is a presentation I wrote that explains things that you should not do when working with Active Record, the ORM used in Rails. I will write up a blog post that goes into further details that will be available soon.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]