Class: SnipSnap::Twitpic
- Inherits:
-
Object
- Object
- SnipSnap::Twitpic
- Includes:
- Client
- Defined in:
- lib/snip_snap/twitpic.rb
Instance Method Summary collapse
Methods included from Client
Instance Method Details
#identifier ⇒ Object
8 9 10 |
# File 'lib/snip_snap/twitpic.rb', line 8 def identifier url.match(/([^\/]+)$/)[1] end |
#image_url ⇒ Object
12 13 14 |
# File 'lib/snip_snap/twitpic.rb', line 12 def image_url "http://twitpic.com/show/large/#{identifier}" end |