Ruby gem for doing payment authorizations using the Plug N Pay payment processor. Uses HTTParty for HTTP requests.
script/plugin install git://github.com/angelmg/ruby-plugnpay.git
response = PlugNPay::Service.new( 'publisher-name' => publisher_name ).
authorize(
'card-number' => '4111111111111111',
'card-name' => 'cardtest',
'card-amount' => '1',
'card-exp' => '01/10')
puts "Your order ID is: " + response['orderID']