Class: Document

Inherits:
ApplicationRecord show all
Extended by:
DbFile::Uploader
Defined in:
app/models/document.rb

Defined Under Namespace

Modules: Associations

Instance Method Summary collapse

Methods included from DbFile::Uploader

extended, has_uploaded

Methods inherited from ApplicationRecord

convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!

Methods included from Warren::BroadcastMessages

#broadcast, included, #queue_associated_for_broadcast, #queue_for_broadcast, #warren

Instance Method Details

#current_dataObject

Method provided for backwards compatibility


37
38
39
# File 'app/models/document.rb', line 37

def current_data
  uploaded_data.read
end