Sha256: d9b1f7f8b9a6cabe158485b78939931cf56f667a879bfefcd55e5243847f8c8e

Contents?: true

Size: 316 Bytes

Versions: 19

Compression:

Stored size: 316 Bytes

Contents

module CQM
  # MeasurePackage stores the uploaded file for a given Measure, so it can be recreated if need be
  class MeasurePackage
    include Mongoid::Document
    include Mongoid::Timestamps

    field :file, type: BSON::Binary
    belongs_to :measure, class_name: 'CQM::Measure', inverse_of: :package
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
cqm-models-4.2.0 app/models/cqm/measure_package.rb
cqm-models-3.1.2 app/models/cqm/measure_package.rb
cqm-models-4.1.1 app/models/cqm/measure_package.rb
cqm-models-4.1.0 app/models/cqm/measure_package.rb
cqm-models-4.0.2 app/models/cqm/measure_package.rb
cqm-models-4.0.1 app/models/cqm/measure_package.rb
cqm-models-4.0.0 app/models/cqm/measure_package.rb
cqm-models-3.1.1 app/models/cqm/measure_package.rb
cqm-models-3.1.0 app/models/cqm/measure_package.rb
cqm-models-3.0.6 app/models/cqm/measure_package.rb
cqm-models-3.0.5 app/models/cqm/measure_package.rb
cqm-models-3.0.4 app/models/cqm/measure_package.rb
cqm-models-3.0.3 app/models/cqm/measure_package.rb
cqm-models-3.0.2 app/models/cqm/measure_package.rb
cqm-models-3.0.1 app/models/cqm/measure_package.rb
cqm-models-2.0.1 app/models/cqm/measure_package.rb
cqm-models-3.0.0 app/models/cqm/measure_package.rb
cqm-models-2.0.0 app/models/cqm/measure_package.rb
cqm-models-1.1.1.0 app/models/cqm/measure_package.rb