Sha256: 97c1c315911f08ff89a3b25c03e0303f02d96c977368681322abe871a91c8a3a

Contents?: true

Size: 200 Bytes

Versions: 59

Compression:

Stored size: 200 Bytes

Contents

module Comee
  module Core
    class ProductLookup < ApplicationRecord
      belongs_to :product
      belongs_to :itemable, polymorphic: true

      validates :code, presence: true
    end
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
comee_core-0.1.65 app/models/comee/core/product_lookup.rb
comee_core-0.1.64 app/models/comee/core/product_lookup.rb
comee_core-0.1.63 app/models/comee/core/product_lookup.rb
comee_core-0.1.62 app/models/comee/core/product_lookup.rb
comee_core-0.1.61 app/models/comee/core/product_lookup.rb
comee_core-0.1.60 app/models/comee/core/product_lookup.rb
comee_core-0.1.59 app/models/comee/core/product_lookup.rb
comee_core-0.1.58 app/models/comee/core/product_lookup.rb
comee_core-0.1.57 app/models/comee/core/product_lookup.rb
comee_core-0.1.56 app/models/comee/core/product_lookup.rb
comee_core-0.1.55 app/models/comee/core/product_lookup.rb
comee_core-0.1.54 app/models/comee/core/product_lookup.rb
comee_core-0.1.53 app/models/comee/core/product_lookup.rb
comee_core-0.1.52 app/models/comee/core/product_lookup.rb
comee_core-0.1.51 app/models/comee/core/product_lookup.rb
comee_core-0.1.50 app/models/comee/core/product_lookup.rb
comee_core-0.1.49 app/models/comee/core/product_lookup.rb
comee_core-0.1.48 app/models/comee/core/product_lookup.rb
comee_core-0.1.47 app/models/comee/core/product_lookup.rb
comee_core-0.1.46 app/models/comee/core/product_lookup.rb