Class: Aviary::ImageHost::Twitpic

Inherits:
Aviary::ImageHost show all
Defined in:
lib/aviary/image_host/twitpic.rb

Instance Method Summary collapse

Methods inherited from Aviary::ImageHost

available, available?, match, match_and_create, matches

Instance Method Details

#hrefObject



5
6
7
# File 'lib/aviary/image_host/twitpic.rb', line 5

def href
  "http://twitpic.com/#{self.token}"
end

#srcObject



9
10
11
# File 'lib/aviary/image_host/twitpic.rb', line 9

def src
  "http://twitpic.com/show/large/#{self.token}.jpg"
end