Sha256: 148788551bf3390bc81efaed2b8a82f3be292d606268c3c24696b37ef3da10e2

Contents?: true

Size: 167 Bytes

Versions: 27

Compression:

Stored size: 167 Bytes

Contents

# frozen_string_literal: true
# encoding: utf-8

class Target
  include Mongoid::Document
  field :name, type: String
  embedded_in :targetable, polymorphic: true
end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
mongoid-7.1.5 spec/app/models/target.rb
mongoid-7.2.0.rc1 spec/support/models/target.rb
mongoid-7.1.4 spec/app/models/target.rb
mongoid-7.1.2 spec/app/models/target.rb
mongoid-7.1.1 spec/app/models/target.rb
mongoid-7.1.0 spec/app/models/target.rb
mongoid-7.1.0.rc0 spec/app/models/target.rb