Sha256: 0bde6c1c1f759c73c0b3a8cbb43ed1c9a5073bb075caa5a87c65ffc2b4d03969
Contents?: true
Size: 823 Bytes
Versions: 6
Compression:
Stored size: 823 Bytes
Contents
Spree::StoreCreditCategory.find_or_create_by!(name: I18n.t('spree.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: Spree::StoreCreditType::EXPIRING) Spree::StoreCreditType.create_with(priority: 2).find_or_create_by!(name: Spree::StoreCreditType::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
6 entries across 6 versions & 1 rubygems