Class: SnipSnap::Skitch

Inherits:
Object
  • Object
show all
Includes:
Client
Defined in:
lib/snip_snap/skitch.rb

Instance Method Summary collapse

Methods included from Client

included

Instance Method Details

#image_urlObject



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