Gumroad is a Ruby wrapper for the Gumroad API.
This gem is a work in progress. Contributions are welcome.
client = Gumroad.new(username, password)
If you feel the need to, you can revoke the session.
links = client.links.all
link = client.links.find(id)
You now have a Gumroad::Link object. You can call methods such as
You can then modify the link's attributes and call save to update it.
link.price = '100' link.save
It's pretty easy to create a link.
client.links.create(name: '@maxstoller', url: 'http://twitter.com/maxstoller', description: 'A link to @maxstoller.', price: '100')
- GroupMe's quimby gem. I took their object approach when writing this gem.