Class: CommonRepositoryModel::Data

Inherits:
PersistenceBase show all
Defined in:
lib/common_repository_model/data.rb

Instance Method Summary collapse

Methods inherited from PersistenceBase

#active_model_serializer, find

Instance Method Details

#content=(file) ⇒ Object



25
26
27
# File 'lib/common_repository_model/data.rb', line 25

def content=(file)
  add_file_datastream(file, dsid: "content")
end