Commit 7887115

mo <mo.khan@gmail.com>
2018-03-10 17:47:34
fix reek warning.
1 parent cc6302d
Changed files (2)
lib/saml/kit/assertion.rb
@@ -22,6 +22,8 @@ module Saml
         @node = node
         @configuration = configuration
         @occurred_at = Time.current
+        @cannot_decrypt = false
+        @encrypted = false
         private_keys = (configuration.private_keys(use: :encryption) + private_keys).uniq
         decrypt!(::Xml::Kit::Decryption.new(private_keys: private_keys))
       end
.reek
@@ -61,9 +61,6 @@ ControlParameter:
   - Saml::Kit::Document#to_xml
   - Saml::Kit::Metadata#to_xml
   - Saml::Kit::Signature#to_xml
-InstanceVariableAssumption:
-  exclude:
-  - Saml::Kit::Assertion
 IrresponsibleModule:
   exclude:
   - Saml::Kit::Assertion