Sha256: de0e195c223c1532998377158f1c6fdfb4cec06cf6d41cdb461bf820de6df458
Contents?: true
Size: 774 Bytes
Versions: 11
Compression:
Stored size: 774 Bytes
Contents
Spree::StoreCreditCategory.find_or_create_by!(name: Spree.t("store_credit_category.default")) Spree::PaymentMethod.create_with( name: "Store Credit", description: "Store credit", active: true, available_to_admin: false, available_to_users: false ).find_or_create_by!( type: "Spree::PaymentMethod::StoreCredit" ) Spree::StoreCreditType.create_with(priority: 1).find_or_create_by!(name: 'Expiring') Spree::StoreCreditType.create_with(priority: 2).find_or_create_by!(name: 'Non-expiring') Spree::ReimbursementType.create_with(name: "Store Credit").find_or_create_by!(type: 'Spree::ReimbursementType::StoreCredit') Spree::StoreCreditCategory.find_or_create_by!(name: 'Gift Card') Spree::StoreCreditUpdateReason.find_or_create_by!(name: 'Credit Given In Error')
Version data entries
11 entries across 11 versions & 1 rubygems