Sha256: e8e281797a7e657ba50a72dfaad5fdf652be601424e1fb4b3e255f20ae55029f
Contents?: true
Size: 356 Bytes
Versions: 26
Compression:
Stored size: 356 Bytes
Contents
module Spree module Seeds class ShippingCategories prepend Spree::ServiceModule::Base def call Spree::ShippingCategory.find_or_create_by!(name: I18n.t('spree.seed.shipping.categories.default')) Spree::ShippingCategory.find_or_create_by!(name: I18n.t('spree.seed.shipping.categories.digital')) end end end end
Version data entries
26 entries across 26 versions & 1 rubygems