lib/httpx/plugins/digest_authentication.rb in httpx-0.23.4 vs lib/httpx/plugins/digest_authentication.rb in httpx-0.24.0
- old
+ new
@@ -20,10 +20,10 @@
end
end
module OptionsMethods
def option_digest(value)
- raise TypeError, ":digest must be a Digest" unless value.is_a?(Authentication::Digest)
+ raise TypeError, ":digest must be a #{Authentication::Digest}" unless value.is_a?(Authentication::Digest)
value
end
end