Project

pygg

0.0
No commit activity in last 3 years
No release in over 3 years
Add social payments to your business by adding a ‘Pay with Pygg’ button to your site!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 0
 Project Readme

Pygg Ruby Gem

Create a Pay with Pygg button

See http://micdijkstra.github.com/Pay-with-Pygg-Button-Creator/ for more information.

Install the Pygg gem

Include the gem in your ruby application

sudo gem install pygg

Include the gem in your ruby application

require 'pygg'

Create a Pygg button by passing through your username, the amount and a message.

**Note: Currently you can only pass through the following amounts: 1,2,3,4,5,10,15,20,30,40,50,75,100

puts Pygg::Twitter.standard("@micdijkstra","$10.00","This is my message")

TODO

  1. Add the other types of buttons (Pay and Donate)
  2. Allow any amount to be added

Example

See example.rb

In terminal run

$ ruby example.rb