From e6bbb54ae0845c45f6aa31b4c1d4f013eb74e46f Mon Sep 17 00:00:00 2001 From: mokha Date: Sat, 26 Jan 2019 11:10:03 -0700 Subject: update documentation --- lib/xml/kit/decryption.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/xml/kit/decryption.rb') diff --git a/lib/xml/kit/decryption.rb b/lib/xml/kit/decryption.rb index ddbfbc5..98535bc 100644 --- a/lib/xml/kit/decryption.rb +++ b/lib/xml/kit/decryption.rb @@ -15,6 +15,7 @@ module Xml # Decrypts an EncryptedData section of an XML document. # # @param data [Hash] the XML document converted to a [Hash] using Hash.from_xml. + # @deprecated Use {#decrypt_hash} instead of this def decrypt(data) ::Xml::Kit.deprecate( 'decrypt is deprecated. Use decrypt_xml or decrypt_hash instead.' -- cgit v1.2.3