Class: Video

Inherits:
Document
  • Object
show all
Defined in:
app/models/video.rb

Constant Summary

Constants inherited from Document

Document::IMAGE_FORMATS

Instance Method Summary collapse

Methods inherited from Document

#format, #mime_type, new

Instance Method Details

#thumb(size, helper) ⇒ Object

Thumbnail file



25
26
27
# File 'app/models/video.rb', line 25

def thumb(size, helper)
    "#{ size.to_s }/video.png"
end