Sha256: dcc41141b352bc2691b06659117f18bf223fc0e0e6c1518d83988a7819fb9eba
Contents?: true
Size: 255 Bytes
Versions: 37
Compression:
Stored size: 255 Bytes
Contents
module Rack module PactBroker class StoreBaseURL def initialize app @app = app end def call(env) ENV['PACT_BROKER_BASE_URL'] ||= ::Rack::Request.new(env).base_url @app.call(env) end end end end
Version data entries
37 entries across 37 versions & 1 rubygems