Sha256: ec2a17a50d379ab9ad34f5ce54550d7a0f1586c42e2b782f39acabaf901e63de
Contents?: true
Size: 314 Bytes
Versions: 59
Compression:
Stored size: 314 Bytes
Contents
require 'faraday' # @private module Faraday # @private class Request::Gateway < Faraday::Middleware def call(env) url = env[:url].dup url.host = @gateway env[:url] = url @app.call(env) end def initialize(app, gateway) @app, @gateway = app, gateway end end end
Version data entries
59 entries across 59 versions & 10 rubygems