lib/httpx/plugins/digest_auth.rb in httpx-1.3.0 vs lib/httpx/plugins/digest_auth.rb in httpx-1.3.1

- old
+ new

@@ -18,9 +18,12 @@ def load_dependencies(*) require_relative "auth/digest" end end + # adds support for the following options: + # + # :digest :: instance of HTTPX::Plugins::Authentication::Digest, used to authenticate requests in the session. module OptionsMethods def option_digest(value) raise TypeError, ":digest must be a #{Authentication::Digest}" unless value.is_a?(Authentication::Digest) value