Sha256: 65e9b5631ac4078c15ea1e4aee6bf35613ad7658c205e545953c1e78ae459228

Contents?: true

Size: 311 Bytes

Versions: 13

Compression:

Stored size: 311 Bytes

Contents

module HealthDataStandards
  module SVS
    class ValueSet
      # include Mongoid::Document
      belongs_to :user
      belongs_to :bundle, class_name: "HealthDataStandards::CQM::Bundle"
      scope :by_user, ->(user) { where({'user_id'=>(user ? user.id : nil)}) }
      index "user_id" => 1
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
bonnie_bundler-3.0.0 lib/ext/valueset.rb
bonnie_bundler-2.2.5 lib/ext/valueset.rb
bonnie_bundler-2.2.4 lib/ext/valueset.rb
bonnie_bundler-2.2.3 lib/ext/valueset.rb
bonnie_bundler-2.2.1 lib/ext/valueset.rb
bonnie_bundler-2.2.0 lib/ext/valueset.rb
bonnie_bundler-2.1.2 lib/ext/valueset.rb
bonnie_bundler-2.1.1 lib/ext/valueset.rb
bonnie_bundler-2.1.0 lib/ext/valueset.rb
bonnie_bundler-2.0.3 lib/ext/valueset.rb
bonnie_bundler-2.0.2 lib/ext/valueset.rb
bonnie_bundler-2.0.1 lib/ext/valueset.rb
bonnie_bundler-2.0.0 lib/ext/valueset.rb