Sha256: 879c1172c925930ca3ea245a035b216dd7e14fb674af0ae7336e600632933ddc

Contents?: true

Size: 410 Bytes

Versions: 5

Compression:

Stored size: 410 Bytes

Contents

module SpreeMultiVendor
  class Configuration < ::Spree::Preferences::Configuration
    DEFAULT_VENDORIZED_MODELS ||= %w[product variant stock_location shipping_method].freeze

   # Some example preferences are shown below, for more information visit:
   # https://guides.spreecommerce.org/developer/core/preferences.html

   preference :vendorized_models, :array, default: DEFAULT_VENDORIZED_MODELS
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
atkhayar-dev-spree-multi-vendor-0.0.0 app/models/spree_multi_vendor/configuration.rb
spree_multi_vendor-2.4.0 lib/spree_multi_vendor/configuration.rb
spree_multi_vendor-2.3.0 app/models/spree_multi_vendor/configuration.rb
spree_multi_vendor-2.2.0 app/models/spree_multi_vendor/configuration.rb
spree_multi_vendor-2.1.0 app/models/spree_multi_vendor/configuration.rb