Class: Video
- Inherits:
-
MediaContext
- Object
- Context
- MediaContext
- Video
- Defined in:
- app/models/contexts/video.rb
Overview
Context for attaching video files and data to deliverables
Instance Method Summary (collapse)
-
- (Boolean) poster?
Returns a boolean value representing whether or not a poster has been created for this context.
Methods inherited from MediaContext
Methods inherited from Context
#as_json, #context_type, #set_default_position
Instance Method Details
- (Boolean) poster?
Returns a boolean value representing whether or not a poster has been created for this context.
12 13 14 |
# File 'app/models/contexts/video.rb', line 12 def poster? !read_attribute('poster').nil? end |