Module: Panda::Viewable
Instance Method Summary collapse
Instance Method Details
#screenshots ⇒ Object
4 5 6 |
# File 'lib/panda/modules/viewable.rb', line 4 def screenshots ((1..screenshots_size||0).map{|i| get_url("_#{i}.jpg")} if success?) || [] end |
#url ⇒ Object
8 9 10 |
# File 'lib/panda/modules/viewable.rb', line 8 def url get_url("#{extname}") if success? end |