Class: SnipSnap::Skitch
- Inherits:
-
Object
- Object
- SnipSnap::Skitch
- Includes:
- Client
- Defined in:
- lib/snip_snap/skitch.rb
Instance Method Summary collapse
Methods included from Client
Instance Method Details
#image_url ⇒ Object
8 9 10 11 |
# File 'lib/snip_snap/skitch.rb', line 8 def image_url body = response.body_str body.match(/addImage\(\s*'([^']+)'/)[1] end |