config/initializers/configuration.rb in workarea-gift_cards-3.4.11 vs config/initializers/configuration.rb in workarea-gift_cards-4.0.0.beta.1

- old
+ new

@@ -1,8 +1,11 @@ Workarea.configure do |config| - config.checkout_steps << 'Workarea::Checkout::Steps::GiftCard' - config.customization_types << Workarea::Catalog::Customizations::GiftCard config.product_templates << :gift_card - config.tender_types.prepend(:gift_card) + config.customization_types << 'Workarea::Catalog::Customizations::GiftCard' + config.fulfillment_policies << 'Workarea::Fulfillment::Policies::CreateGiftCard' + config.checkout_steps << 'Workarea::Checkout::Steps::GiftCard' + config.tender_types.prepend(:gift_cards) config.seeds << 'Workarea::GiftCardSeeds' - config.gift_card_token_length = 8 + config.jump_to_navigation.merge!('Gift Cards' => :payment_gift_cards_path) + + config.gateways.gift_card = 'Workarea::GiftCards::Gateway' end