Sha256: 16f7909407291b36db8a99be19bca45e1471b079f96632f23ff859d5bfb444bb

Contents?: true

Size: 325 Bytes

Versions: 3

Compression:

Stored size: 325 Bytes

Contents

require 'pact/provider/rspec'
require 'rack/reverse_proxy'

Pact.service_provider "Running Provider Application" do
  app do
    Rack::ReverseProxy.new do
      reverse_proxy '/', ENV.fetch('PACT_PROVIDER_BASE_URL')
    end
  end
end

require ENV['PACT_PROJECT_PACT_HELPER'] if ENV.fetch('PACT_PROJECT_PACT_HELPER','') != ''

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pact-provider-proxy-1.2.0 lib/pact/provider/proxy/proxy_pact_helper.rb
pact-provider-proxy-1.1.0 lib/pact/provider/proxy/proxy_pact_helper.rb
pact-provider-proxy-1.0.0 lib/pact/provider/proxy/proxy_pact_helper.rb