Class: SnipSnap::Yfrog
- Inherits:
-
Object
- Object
- SnipSnap::Yfrog
- Includes:
- Client
- Defined in:
- lib/snip_snap/yfrog.rb
Instance Method Summary collapse
Methods included from Client
Instance Method Details
#image_url ⇒ Object
8 9 10 11 |
# File 'lib/snip_snap/yfrog.rb', line 8 def image_url body = response.body_str body.match(/<link rel="image_src" href="(.+)" \/>/)[1] end |