lib/xml/kit/crypto/unknown_cipher.rb in xml-kit-0.2.0 vs lib/xml/kit/crypto/unknown_cipher.rb in xml-kit-0.3.0

- old
+ new

@@ -2,10 +2,15 @@ module Xml module Kit module Crypto class UnknownCipher - def initialize(algorithm, key); end + attr_reader :algorithm, :key + + def initialize(algorithm, key) + @algorithm = algorithm + @key = key + end def self.matches?(_algorithm) true end