Class: Pageflow::TextTrackFile
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Pageflow::TextTrackFile
show all
- Includes:
- HostedFile
- Defined in:
- app/models/pageflow/text_track_file.rb
Instance Method Summary
collapse
Methods included from HostedFile
#attachment, #attachment=, #basename, columns, #keep_on_filesystem_after_upload_to_s3?, #original_url, #retryable?, #url
#file_type, #nested_files, #parent_allows_type_for_nesting, #parent_belongs_to_same_entry
Instance Method Details
41
42
43
|
# File 'app/models/pageflow/text_track_file.rb', line 41
def meta_data_attributes=(attributes)
self.attributes = attributes.symbolize_keys.slice(:label, :kind, :srclang)
end
|
#ready? ⇒ Boolean
33
34
35
|
# File 'app/models/pageflow/text_track_file.rb', line 33
def ready?
processed?
end
|
#unprocessed_attachment ⇒ Object
37
38
39
|
# File 'app/models/pageflow/text_track_file.rb', line 37
def unprocessed_attachment
attachment_on_s3
end
|