Sha256: 1e18df60b848586c62b22d62207f65249a91ca03fb5dadcff9da452ed9d32728
Contents?: true
Size: 403 Bytes
Versions: 28
Compression:
Stored size: 403 Bytes
Contents
# frozen_string_literal: true module Faraday # Middleware is the basic base class of any Faraday middleware. class Middleware extend MiddlewareRegistry extend DependencyLoader def initialize(app = nil) @app = app end def close if @app.respond_to?(:close) @app.close else warn "#{@app} does not implement \#close!" end end end end
Version data entries
28 entries across 25 versions & 8 rubygems