Sha256: 3e278288bcf9c26a5a19c1fc109ceaac8cac85f7d72774ceea927bab31d6abdb

Contents?: true

Size: 311 Bytes

Versions: 15

Compression:

Stored size: 311 Bytes

Contents

module QDM
  # 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: 'Measure', inverse_of: :package
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
cqm-models-1.0.3 app/models/qdm/tacoma/measure_package.rb
cqm-models-1.0.2 app/models/qdm/tacoma/measure_package.rb
cqm-models-1.0.1 app/models/qdm/tacoma/measure_package.rb
cqm-models-1.0.0 app/models/qdm/tacoma/measure_package.rb
cqm-models-0.8.4 app/models/qdm/tacoma/measure_package.rb
cqm-models-0.8.3 app/models/qdm/tacoma/measure_package.rb
cqm-models-0.8.2 app/models/qdm/tacoma/measure_package.rb
cqm-models-0.8.1 app/models/qdm/tacoma/measure_package.rb
cqm-models-0.8.0 app/models/qdm/tacoma/measure_package.rb
cqm-models-0.7.7 app/models/qdm/tacoma/measure_package.rb
cqm-models-0.7.6 app/models/qdm/tacoma/measure_package.rb
cqm-models-0.7.5 app/models/qdm/tacoma/measure_package.rb
cqm-models-0.7.4 app/models/qdm/tacoma/measure_package.rb
cqm-models-0.7.3 app/models/qdm/tacoma/measure_package.rb
cqm-models-0.7.2 app/models/qdm/tacoma/measure_package.rb