From 55de377a6c6ff59d843da0edcf22d4b1d9d1d972 Mon Sep 17 00:00:00 2001 From: Jerome Pratt Date: Mon, 2 Oct 2023 12:11:04 +0100 Subject: [PATCH] Add require to fix issue with uninitialized constant --- config/initializers/govpay.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/initializers/govpay.rb b/config/initializers/govpay.rb index 31f36c9dd..3a9684039 100644 --- a/config/initializers/govpay.rb +++ b/config/initializers/govpay.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require "defra_ruby_govpay" + DefraRubyGovpay.configure do |config| config.govpay_url = Rails.configuration.govpay_url config.govpay_front_office_api_token = Rails.configuration.govpay_front_office_api_token