Sha256: 53311258c0d46d76391d836321e9bf07f4d629e616d1113ae08ae83b7aa0f0ab

Contents?: true

Size: 540 Bytes

Versions: 1

Compression:

Stored size: 540 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module EML
  module Helpers
    module Config
      extend T::Sig

      sig { void }
      def configure_uk
        EML::UK.configure do |config|
          config.username = ENV["UK_REST_API_USERNAME"]
          config.password = ENV["UK_REST_API_PASSWORD"]
          config.merchant_group = ENV["UK_REST_API_MERCHANT_GROUP"]
          config.program = ENV["UK_REST_API_PROGRAM"]
          config.search_parameter = ENV["UK_REST_API_SEARCH_PARAMETER"]
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eml-1.0.0 spec/helpers/config_helper.rb