Sha256: 9bde61fb0388afa12232de158e5c7cf3a9b5bd8657064aa8c269dd4f3c276391
Contents?: true
Size: 330 Bytes
Versions: 36
Compression:
Stored size: 330 Bytes
Contents
module Spree class ShippingCategory < Spree::Base validates :name, presence: true, uniqueness: { allow_blank: true } with_options inverse_of: :shipping_category do has_many :products has_many :shipping_method_categories end has_many :shipping_methods, through: :shipping_method_categories end end
Version data entries
36 entries across 36 versions & 2 rubygems