This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Tue Jun 23 14:05:36 -0700 2009 | |
| |
README.rdoc | Tue Jun 23 15:07:52 -0700 2009 | |
| |
portrait.rb | Thu Jun 25 14:55:41 -0700 2009 |
README.rdoc
portrait_party
portrait_party is a wrapper for John Nunemaker’s HTTParty. First you’ll need an account on a portrait instance.
First, setup the Portrait class with your server and credentials
Portrait.url "portrait.mydomain.com" Portrait.authorize 'username', 'password'
Then fire away:
Portrait.capture 'http://domain.tocapture.com', '/directory/to/save/to', 'filename.png'
If you provide an invalid URL, or something goes wrong, Portrait will raise an exception







