Sha256: b0bf08d99e86a5ada057825cca2cf3adee1db1fcf496292bb0bdde916891956e

Contents?: true

Size: 288 Bytes

Versions: 15

Compression:

Stored size: 288 Bytes

Contents

module Spree
  class ProductOptionType < ActiveRecord::Base
    belongs_to :product, class_name: 'Spree::Product', inverse_of: :product_option_types
    belongs_to :option_type, class_name: 'Spree::OptionType', inverse_of: :product_option_types
    acts_as_list scope: :product
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
spree_core-2.2.14 app/models/spree/product_option_type.rb
spree_core-2.2.13 app/models/spree/product_option_type.rb
spree_core-2.2.12 app/models/spree/product_option_type.rb
spree_core-2.2.11 app/models/spree/product_option_type.rb
spree_core-2.2.10 app/models/spree/product_option_type.rb
spree_core-2.2.9 app/models/spree/product_option_type.rb
spree_core-2.2.8 app/models/spree/product_option_type.rb
spree_core-2.2.7 app/models/spree/product_option_type.rb
spree_core-2.2.6 app/models/spree/product_option_type.rb
spree_core-2.2.5 app/models/spree/product_option_type.rb
spree_core-2.2.4 app/models/spree/product_option_type.rb
spree_core-2.2.3 app/models/spree/product_option_type.rb
spree_core-2.2.2 app/models/spree/product_option_type.rb
spree_core-2.2.1 app/models/spree/product_option_type.rb
spree_core-2.2.0 app/models/spree/product_option_type.rb